Skip to content
This repository was archived by the owner on Mar 13, 2022. It is now read-only.
This repository was 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

Description

@joar

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'

Activity

  1. zub0r commented on Oct 4, 2018

    @zub0r

    Bump. Still an issue

  2. fejta-bot commented on Apr 26, 2019

    @fejta-bot

    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

  3. added
    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
    on Apr 26, 2019
  4. aseempatni commented on Apr 26, 2019

    @aseempatni

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

  5. tomplus commented on Apr 26, 2019

    @tomplus
    Member

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

    /remove-lifecycle stale

  6. removed
    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
    on Apr 26, 2019
  7. aseempatni commented on Apr 26, 2019

    @aseempatni

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

  8. tomplus commented on Apr 26, 2019

    @tomplus
    Member

    Yes, v. 10.0.0a1 should work.

  9. fejta-bot commented on Jul 25, 2019

    @fejta-bot

    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

  10. added
    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.
    on Jul 25, 2019
  11. aseempatni commented on Jul 26, 2019

    @aseempatni

    /close

  12. k8s-ci-robot commented on Jul 26, 2019

    @k8s-ci-robot
    Contributor

    @aseempatni: Closing this issue.

    Details

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions