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

KubeConfig.from_service_account always defaults to default namespace #69

Description

@inikolaev

I noticed that KubeConfig.from_service_account doesn't read namespace from /var/run/secrets/kubernetes.io/serviceaccount/namespace which causes it to use default namespace.

Because of that I have to manually filter by namespace when trying to access objects in current namespace.

Is that by-design? If not, I could work on a patch for this.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions