kube-spawn icon indicating copy to clipboard operation
kube-spawn copied to clipboard

Allow users to set current environment

Open schu opened this issue 6 years ago • 3 comments

Similar to kubectl config set-context ..., allow users to set a current environment. Only default to default if not set.

schu avatar Nov 01 '17 08:11 schu

Should that also change the kubectl context to the new cluster?

robertgzr avatar Nov 02 '17 16:11 robertgzr

Personally as a user, I wouldn't want kube-spawn to change my kubectl context.

schu avatar Nov 03 '17 16:11 schu

Once https://github.com/kinvolk/kube-spawn/pull/265 is ready and merged, this can be done by setting cluster-name: my-default in the config.

schu avatar Feb 01 '18 15:02 schu