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 ApiClient to be constructed from KubeConfig #65

Merged
merged 1 commit into from
Aug 15, 2017

Conversation

lwander
Copy link
Contributor

@lwander lwander commented Aug 14, 2017

Given that the KubeConfig object is public, exposing a constructor like this is useful to users who want to have more control in how the client authenticates. For example, being able to load a KubeConfig from disk, edit the context, and then authenticate with the user & cluster in that context is useful.

@mbohlool
Copy link
Contributor

/lgtm

@mbohlool mbohlool merged commit 2366abf into kubernetes-client:master Aug 15, 2017
@lwander lwander deleted the from-kube-config branch August 15, 2017 13:19
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