Skip to content

multiple kubectl files passed through kubeconfig #191

@cruzanstx

Description

@cruzanstx

so in k9s and kubectl you can pass multiple kubeconfig files via the KUBECONFIG environment variable then swap between them using the contexts command.

example environment variable:
"KUBECONFIG=/root/.kube/config.production:/root/.kube/rnd.kubeconfig.yaml:/root/.kube/staging.kubeconfig.yaml:/root/.kube/config.local"

for some reason when trying to do the same with the "env" key in the cline_mcp_settings.json its treated a single file and fails and I get the following error:

node:fs:596 handleErrorFromBinding(ctx); ^ Error: ENOENT: no such file or directory, open

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