Skip to content

Kubeconfig not found at: . Add a new one? #1626

@crowne

Description

@crowne

I have installed
ms-kubernetes-tools.vscode-kubernetes-tools
version 1.3.25

whenever I open my project directory in vscode, and then open a yaml file (any yaml not a k8s yaml) I see an error message:

Kubeconfig not found at: . Add a new one?

it has a button to add a config file, when I select that it launches a file open dialog
I'm not sure why any of this this is necessary, my clusters are visable when I open the kubernetes perspective on the left

my config files are stored in ~/.kube
and are specified as a list of absolute file paths in env var KUBECONFIG separated by ;
I keep separate config files per cluster that I connect to

Please can the unnecessary and annoying message be prevented.
I have the option of muting all info and warning messages for the extension,
perhaps this should be a debug message ... but then again why does it think it can't find the config when I can clearly see all of my clusters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions