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 request: support --context flag #36

Closed
2rs2ts opened this issue Aug 27, 2019 · 4 comments
Closed

Feature request: support --context flag #36

2rs2ts opened this issue Aug 27, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@2rs2ts
Copy link
Contributor

2rs2ts commented Aug 27, 2019

kubectl supports a --context flag that is good for scripting where you don't want to change the current context in your kubeconfig. It would be nice for this script to support the same.

@etopeter
Copy link
Owner

Thank you for submitting this feature request. I 'm going to see how much effort is need to make that happen. There are edge cases that need to be handled, for instance when context is not found.

@etopeter etopeter added the enhancement New feature or request label Aug 28, 2019
@etopeter
Copy link
Owner

etopeter commented Aug 28, 2019

Here is the feature branch context-handling - DIff

@etopeter
Copy link
Owner

etopeter commented Sep 2, 2019

This is now in latest release v0.3.0

@etopeter etopeter closed this as completed Sep 2, 2019
@2rs2ts
Copy link
Contributor Author

2rs2ts commented Sep 5, 2019

Thank you! It works nicely!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants