-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: unable to load kubeconfig: error loading config file "/home/.kube/config": open /home/.kube/config: permission denied #251
Comments
Can you share the full command used? By default, kubelogin converts the kubeconfig from path |
I actually removed out the /home/username for some reasons. I explicitly export KUBECONFIG to the one that I want it to use. The error also shows the right path where it has to read from. However it fails for permissions. |
Here is the output firstwatch@fpsp-eastus2-prod-firstwatch-infr-vm-1: |
Do you expect to convert the config in path
|
Did you install it via snap? snap installation is broken. #231 (comment) |
@weinong thank you. Thats what I assumed but the documentation to install without snap is not clear. The github issue you pointed doesnt have any solution, too. Let me investigate more or please send if you have something |
please post if anyone has installed on ubuntu without snap |
@srisurya777 are you able to use |
Ubuntu 20.04
kubelogin version
git hash: v0.0.28/2026869c86368dafa3ff06001b68f9a881dee75c
Go version: go1.20.2
Build time: 2023-03-14T19:17:37Z
Platform: linux/amd64
An easy login converted to something thats so complex. Behaves different in different OS for same credentials. Here is the issue on ubuntu 20.04. The user can read the file but the kubelogin convert command cannot. No matter how the permissions are changed it keeps throwing the same error not telling what to do. can someone please help quickly.
The text was updated successfully, but these errors were encountered: