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

Add a "--kubeconfig" global flag #540

Closed
kastl-ars opened this issue May 31, 2024 · 3 comments · Fixed by #545
Closed

Add a "--kubeconfig" global flag #540

kastl-ars opened this issue May 31, 2024 · 3 comments · Fixed by #545
Assignees
Labels
enhancement Adding additional functionality or improvements good first issue Good for newcomers help wanted Extra attention is needed priority: could Future work depending on bandwidth and availability

Comments

@kastl-ars
Copy link

Is your feature request related to a problem? Please describe.
I often work with multiple clusters. In my case, each has a separate kubeconfig file.
Often this is because clusters are spun up for testing using e.g. vagrant+Ansible.

Having to export KUBECONFIG=... each time I need to target a different cluster is error prone and tedious.

Describe the solution you'd like
Other tools, including kubectl and helm, allow using a --kubeconfig global flag, that uses the file given as argument to this flag as the kubeconfig for the command.

Describe alternatives you've considered

  • exporting KUBECONFIG=...
  • using things like kubie etc.
@kastl-ars kastl-ars added enhancement Adding additional functionality or improvements triage This bug needs triage labels May 31, 2024
@sudermanjr sudermanjr removed the triage This bug needs triage label Jun 4, 2024
@sudermanjr
Copy link
Member

This should be fairly straightforward to add if someone wants to pick this up.

@sudermanjr sudermanjr added good first issue Good for newcomers help wanted Extra attention is needed priority: could Future work depending on bandwidth and availability labels Jun 4, 2024
@bbensky bbensky self-assigned this Jun 28, 2024
@bbensky bbensky mentioned this issue Jul 22, 2024
2 tasks
@bbensky bbensky linked a pull request Jul 22, 2024 that will close this issue
2 tasks
@kastl-ars
Copy link
Author

Uuuuh nice, thanks!

@bbensky
Copy link
Contributor

bbensky commented Jul 24, 2024

Sure thing 😄 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding additional functionality or improvements good first issue Good for newcomers help wanted Extra attention is needed priority: could Future work depending on bandwidth and availability
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants