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

feat: consider KUBECONFIG environment as a default kubeconfig #14

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

hiro-o918
Copy link
Contributor

What

consider the KUBECONFIG environment variable as a default config, then see the config under home directory

https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/#set-the-kubeconfig-environment-variable

Why

Some context-switching tools like https://github.com/sbstp/kubie, create a temporary KUBECONFIG and overwrite its environment variable in the shell.
This pr aims to work this CLI on such a shell without specifying the temporary config.

@kitagry kitagry merged commit 6806e02 into kitagry:main Jul 16, 2024
1 check passed
@kitagry
Copy link
Owner

kitagry commented Jul 16, 2024

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants