Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

Conversation

@pshchelo
Copy link

@pshchelo pshchelo commented Dec 6, 2019

accepts optional path to kubeconfig file and optional name of a context
in the kubeconfig file.
If kubeconfig not specified, first tries to load kubeconfig from service
account. If that is not available too, tries to load configuration from
default local source.
Returns HTTPClient instance configured with loaded config.

Issue #24

accepts optional path to kubeconfig file and optional name of a context
in the kubeconfig file.
If kubeconfig not specified, first tries to load kubeconfig from service
account. If that is not available too, tries to load configuration from
default local source.
Returns HTTPClient instance configured with loaded config.

Issue hjacobs#24
@pshchelo
Copy link
Author

pshchelo commented Dec 6, 2019

I've also updated tox.ini with packages required to run tests with tox instead if pipenv/make, versions of packages are taken from current Pipfile.lock

@hjacobs
Copy link
Owner

hjacobs commented Dec 8, 2019

This was already implemented with KubeConfig.from_env(...) (https://github.com/hjacobs/pykube/blob/master/pykube/config.py#L85).

@pshchelo
Copy link
Author

pshchelo commented Dec 9, 2019

ok, closing then

@pshchelo pshchelo closed this Dec 9, 2019
@pshchelo pshchelo deleted the login branch December 9, 2019 08:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants