vscode-openshift-tools icon indicating copy to clipboard operation
vscode-openshift-tools copied to clipboard

Show current context only if it is active

Open mohitsuman opened this issue 3 years ago • 1 comments

Currently with odov3 workflow, we have updated the Application Explorer. It shows the current context in kubeconfig.

But the current context is kubeconfig might be very old and not active.

  • So the extension should detect if the context is active.
  • Show the active context or else show the Login to Cluster, and Create Component buttons.

Eg. This shows very old kubeconfig current context

Screenshot 2022-10-20 at 2 33 02 PM

mohitsuman avatar Oct 20 '22 12:10 mohitsuman

As discussed, once the extension is activated, we showcase the buttons showing the following:

  • Login with Current context ( This should be shown if the current context is active)
  • Login to cluster
  • Add cluster

mohitsuman avatar Oct 20 '22 18:10 mohitsuman

@mohitsuman fixed in main.

dgolovin avatar Oct 26 '22 06:10 dgolovin