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

Support KUBECONFIG environment variable #3

Merged

Conversation

zmedico
Copy link
Contributor

@zmedico zmedico commented May 19, 2020

The KUBECONFIG environment variable provides a convenient alternative
to the kubeletctl --config flag.

The KUBECONFIG environment variable provides a convenient alternative
to the kubeletctl --config flag.
@zmedico zmedico force-pushed the support-KUBECONFIG-environment-variable branch from 663f67d to 6b0c782 Compare May 19, 2020 05:36
@g3rzi
Copy link
Contributor

g3rzi commented May 21, 2020

Thanks for the contribution! :)
I will test it and update here

@g3rzi
Copy link
Contributor

g3rzi commented May 25, 2020

It seems to work, the only issue is when someone provides a corrupted config file to KUBECONFIG or someone just want to use an anonymous request without the KUBECONFIG environment variable.

I can add it and change the panic message and maybe add flag to ignore the KUBECONFIG environment variable.

@g3rzi g3rzi merged commit daafa02 into cyberark:master May 25, 2020
@zmedico zmedico deleted the support-KUBECONFIG-environment-variable branch June 5, 2020 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants