Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

load_kube_config fails if KUBECONFIG contains more than one file #62

Closed
joar opened this issue Apr 24, 2018 · 9 comments
Closed

load_kube_config fails if KUBECONFIG contains more than one file #62

joar opened this issue Apr 24, 2018 · 9 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@joar
Copy link

joar commented Apr 24, 2018

KUBECONFIG is a list of colon-deliminated config files.
https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/#the-kubeconfig-environment-variable.

load_kube_config without arguments throws:

FileNotFoundError: [Errno 2] No such file or directory: '/home/joar/git/foo/.kube-config:/home/joar/.kube/config'
@zub0r
Copy link

zub0r commented Oct 4, 2018

Bump. Still an issue

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 26, 2019
@aseempatni
Copy link

I'm also facing the same issue when KUBECONFIG contains multiple files.

@tomplus
Copy link
Member

tomplus commented Apr 26, 2019

@aseempatni which version of the library do you have? It should work with the latest one.

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 26, 2019
@aseempatni
Copy link

Ah, I see. I'm using 8.0.1. It was fixed after that I assume? Lemme give a shot with the latest one.

@tomplus
Copy link
Member

tomplus commented Apr 26, 2019

Yes, v. 10.0.0a1 should work.

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 25, 2019
@aseempatni
Copy link

/close

@k8s-ci-robot
Copy link
Contributor

@aseempatni: Closing this issue.

In response to this:

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

6 participants