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
Describe the bug
When specifying the context command via the -c flag, selecting a cluster always returns to the context view
To Reproduce
Steps to reproduce the behavior:
Run k9s with the context command: k9s -c context
Select any non-active cluster
Expected behavior
k9s should present the user with the previous view for that cluster, or if the previous view was context, it should switch to pods view.
Versions (please complete the following information):
I suspect the root cause has to do with specifying the command as context on the command line and perhaps at some point in switching views, it chooses the manually specified context command again instead of the previous view or pods view. If that's the case, then I would work on a patch such that -c contextstarts with the context view but every command and view change after that will not take the -c context argument into consideration when determining the view.
Describe the bug
When specifying the context command via the -c flag, selecting a cluster always returns to the context view
To Reproduce
Steps to reproduce the behavior:
k9s -c context
Expected behavior
k9s should present the user with the previous view for that cluster, or if the previous view was
context
, it should switch topods
view.Versions (please complete the following information):
Additional context
First reported here #2045
The text was updated successfully, but these errors were encountered: