consolidation / site-process

A thin wrapper around the Symfony Process Component that allows applications to use the Site Alias library to specify the target for a remote call.
Other
50 stars 19 forks source link

Allow to set the kubectl --cluster option #73

Open ceesgeene opened 1 year ago

ceesgeene commented 1 year ago

Overview

This pull request:

Q A
Bug fix? no
New feature? yes
Has tests? yes
BC breaks? no
Deprecations? no

Summary

This PR allow to set the "cluster" for the kubectl transport. This is useful when working with multiple clusters.

Description

Note that this is also useful in combination with #64; a kubeconfig file can contain multiple clusters.

Note there are multiple other options we could pass: https://kubernetes.io/docs/reference/kubectl/kubectl/

Maybe we should look for a way to use all available options. For now I only need the cluster option.