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
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 Contextaction: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