You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the Switch Kubernetes context action opens a quick pick action with the list of the config in the kubeconfig file. This becomes tricky to select as the list keeps on growing.
For the user, they should be able to do the following with the Manage Kubernetes Context action:
Switch current context
Delete any cluster context
Solution:
A quick pick is opened with the list of all configs. Every list has 2 icons once hovered, Switch and Delete.
If the user selects Switch Action:
-- An information box is shown: Are you sure to switch the context? Yes/No
If the user selects Delete Action:
-- An information box is shown: Are you sure you want to delete this cluster information from kubeconfig. This action cannot be undone. Yes/No
Rename the Button to Manage Kubernetes Context
The text was updated successfully, but these errors were encountered:
There are several objects stored in config: users, clusters, contexts.
Deleting specific context should not end with deleting cluster and user because there might be other contexts using them.
There should be some other restrictions probably. Like not letting to delete last context from the file. We should check what is minimal config file should be looking like so we don't end up with config that other tools will refuse to use.
@dgolovin So for our use case, should we just focus on removing the cluster information from the quickpick, because that's the information we are letting the user make a decision to (to switch or delete)?
Currently, the Switch Kubernetes context action opens a quick pick action with the list of the config in the kubeconfig file. This becomes tricky to select as the list keeps on growing.
For the user, they should be able to do the following with the
Manage Kubernetes Context
action:Solution:
A quick pick is opened with the list of all configs. Every list has 2 icons once hovered, Switch and Delete.
If the user selects Switch Action:
-- An information box is shown: Are you sure to switch the context? Yes/No
If the user selects Delete Action:
-- An information box is shown: Are you sure you want to delete this cluster information from kubeconfig. This action cannot be undone. Yes/No
Rename the Button to
Manage Kubernetes Context
The text was updated successfully, but these errors were encountered: