Repository navigation
Replies: 2 comments 1 reply
|
Agreed. We will add general support in sofka for a plugin to request a kubeconfig reload and open the context selector after a successful run. The user will select the context; sofka will not switch clusters automatically. The gardenctl integration belongs in sofka-plugins. You can start creating that plugin as soon as this core support is ready. I will create a linked issue and start work on it. |
0 replies
|
Tracked in #669. Work has started. The planned interface is an optional action in a successful plugin report: |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
In our project we use
gardener, which has a CLIgardenctlthat allows targeting different clusters. Under the hood, this updates the$KUBECONFIGand replaces it with a config for the newly targeted cluster. I would love to author a plugin, that easily allows switching clusters with this from within sofka.However, currently, this is a bit clunky. The plugin can change the kubeconfig, but at first, nothing happens. Users need to open the
:ctxview (which apparently refreshes the loaded kubeconfig) and then can select the updated context. I can think of two options to improve this::ctx). ORAll reactions