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

Allow kubeconfig to be loaded without current-context #81

Conversation

lwander
Copy link
Contributor

@lwander lwander commented Sep 29, 2017

Before this change, any attempt to load a kubeconfig w/o current-context field would NPE. Since kubectl doesn't have this behavior, and we expose the ability to set a custom context on a kubeconfig, we shouldn't crash here.

@brendandburns
Copy link
Contributor

LGTM

@brendandburns brendandburns merged commit 60a8cd1 into kubernetes-client:master Sep 29, 2017
@lwander lwander deleted the allow-kubeconfig-load-wo-context branch September 29, 2017 15:02
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.

2 participants