Closed aleexx17 closed 1 year ago
Do you see a notification about "failed to sync shell env"?
No I don't see that, but I was able to figure out why it wasn't working. I normally use WSL when I'm working with Kubernetes so I synced the kubeconfig file from the WSL. So to see if that was the problem I installed everything on my windows host too. I tried to sync the kubeconfig file from my windows host which worked after I changed the path to the absoloute path to the kubelogin exe.
Describe the bug We have AKS Kubernetes Clusters to authenticate we now use the azure kubelogin (https://github.com/Azure/kubelogin) since the azure auth plugin is deprecated in the versions v.1.22+ I've noticed, that in Lens I can only connect to the clusters when I'm using the azure auth plugin. As soon as I use kubelogin I get the follwing error:
I also tried to set the absoloute path for the kubelogin command, but I get the same error.
But I am able to connect to my cluster via kubectl.
To Reproduce Steps to reproduce the behavior:
Expected behavior I'm able to connect to the cluster and authenticate with kubelogin.
Environment (please complete the following information):
Kubeconfig:
Additional context Add any other context about the problem here.