Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show current context only if it is active #2573

Closed
mohitsuman opened this issue Oct 20, 2022 · 2 comments
Closed

Show current context only if it is active #2573

mohitsuman opened this issue Oct 20, 2022 · 2 comments

Comments

@mohitsuman
Copy link
Collaborator

mohitsuman commented Oct 20, 2022

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
Copy link
Collaborator Author

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

@dgolovin
Copy link
Collaborator

@mohitsuman fixed in main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants