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

feature: ability to switch back to previous namespace #17

Closed
mircea-pavel-anton opened this issue Aug 11, 2024 · 2 comments
Closed

feature: ability to switch back to previous namespace #17

mircea-pavel-anton opened this issue Aug 11, 2024 · 2 comments

Comments

@mircea-pavel-anton
Copy link
Collaborator

kube-switcher namespace -
@mircea-pavel-anton
Copy link
Collaborator Author

mircea-pavel-anton commented Aug 27, 2024

I'm thinking that maybe this should not be specific to the namespace command, since both it and the context command technically modify the current context. I think that every time the context is changed, either by changing the current context, the context file entirely or just the namespace, i should just save the previous config file in a config.old or something like that.

Related to #11

Then you could just kubectl switch -/kube-switcher - or kubectl switch undo/kube-switcher undo to go back to it?

@mircea-pavel-anton
Copy link
Collaborator Author

to be handled by #42

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

1 participant