Skip to content

Allow ApiClient to be constructed from KubeConfig#65

Merged
mbohlool merged 1 commit into
kubernetes-client:masterfrom
lwander:from-kube-config
Aug 15, 2017
Merged

Allow ApiClient to be constructed from KubeConfig#65
mbohlool merged 1 commit into
kubernetes-client:masterfrom
lwander:from-kube-config

Conversation

@lwander

@lwander lwander commented Aug 14, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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