Failed to configure Bridge to Kubernetes:
Failed to get the current context from the kubeconfig:
No kubeconfig file found at path
/Users/mark/.kube/config:/Users/mark/.kube/config.d/home/config:/Users/mark/.kube/config.d/work/config
To Reproduce
Set the KUBECONFIG variable in your environment to a list of config files
Start VS Code
Use the Kubernetes plugin to navigate to a pod
Right click on the pod and select "Debug (Local tunel)"
See the error message
Describe the bug As described here: https://kubernetes.io/docs/tasks/access-application-cluster/configure-access-multiple-clusters/#set-the-kubeconfig-environment-variable "The KUBECONFIG environment variable is a list of paths to configuration files." I therefore expect the Bridge to Kubernetes to parse it like a list, and to use the contents of all the files it points to. I do not expect to see the error:
To Reproduce Set the KUBECONFIG variable in your environment to a list of config files Start VS Code Use the Kubernetes plugin to navigate to a pod Right click on the pod and select "Debug (Local tunel)" See the error message
Environment Details Client used (VS Code/Visual Studio):
$ /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code --list-extensions --show-versions | grep "mindaro.mindaro"
$ /Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code --version
macOS 11.6.1 (20G224)