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

Surface load errors when reading .kubeconfig files #4581

Merged
merged 1 commit into from
Feb 19, 2015

Conversation

liggitt
Copy link
Member

@liggitt liggitt commented Feb 19, 2015

Running kubectl get pods --kubeconfig=bogus doesn't complain that the specified config file is missing. It should.

You also don't get any notice that a particular kubeconfig file couldn't be read or deserialized.

@googlebot
Copy link

Thanks for your pull request.

It looks like this may be your first contribution to a Google open source project, in which case you'll need to sign a Contributor License Agreement (CLA) at https://cla.developers.google.com/.

If you've already signed a CLA, it's possible we don't have your GitHub username or you're using a different email address. Check the information on your CLA or see this help article on setting the email on your git commits.

Once you've done that, please reply here to let us know. If you signed the CLA as a corporation, please let us know the company's name.

@liggitt
Copy link
Member Author

liggitt commented Feb 19, 2015

@jlowdermilk PTAL
/cc @deads2k @derekwaynecarr

@liggitt liggitt force-pushed the kubeconfig_load_errors branch from 72a0bb9 to 945616a Compare February 19, 2015 04:34
@j3ffml
Copy link
Contributor

j3ffml commented Feb 19, 2015

LGTM

yujuhong added a commit that referenced this pull request Feb 19, 2015
Surface load errors when reading .kubeconfig files
@yujuhong yujuhong merged commit 13f3f30 into kubernetes:master Feb 19, 2015
@liggitt liggitt deleted the kubeconfig_load_errors branch February 19, 2015 16:47
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.

4 participants