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 :: Accept config location parameter #4

Closed
gdurandvadas opened this issue Aug 10, 2018 · 1 comment
Closed

Feature request :: Accept config location parameter #4

gdurandvadas opened this issue Aug 10, 2018 · 1 comment
Labels
question Further information is requested

Comments

@gdurandvadas
Copy link

gdurandvadas commented Aug 10, 2018

In cases where there are configure more than one cluster, and since kubelogin overwrite everything in ~/.kube/condfig it should be great to have the option to pass the config path as parameter.

@int128
Copy link
Owner

int128 commented Aug 11, 2018

You can use environment variable KUBECONFIG to point the config file.
For example,

export KUBECONFIG="$PWD/.kubeconfig"
kubelogin

@int128 int128 closed this as completed Aug 24, 2018
@int128 int128 added the question Further information is requested label Aug 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants