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 #314

Closed
kastl-ars opened this issue May 31, 2024 · 1 comment · Fixed by #329
Closed

Add a "--kubeconfig" global flag #314

kastl-ars opened this issue May 31, 2024 · 1 comment · Fixed by #329
Assignees
Labels
enhancement Adding additional functionality or improvements stale Marked as stale by stalebot triage This bug needs triage

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
@github-actions github-actions bot added the stale Marked as stale by stalebot label Jul 31, 2024
@bbensky bbensky self-assigned this Aug 1, 2024
@bbensky bbensky linked a pull request Aug 2, 2024 that will close this issue
2 tasks
@github-actions github-actions bot closed this as completed Aug 9, 2024
@kastl-ars
Copy link
Author

Thanks, that was quick!

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 stale Marked as stale by stalebot triage This bug needs triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants