Skip to content
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

kubectl-eks fails on multiple kubeconfig files #126

Open
5nafu opened this issue Nov 1, 2023 · 0 comments
Open

kubectl-eks fails on multiple kubeconfig files #126

5nafu opened this issue Nov 1, 2023 · 0 comments

Comments

@5nafu
Copy link

5nafu commented Nov 1, 2023

kubectl allows to use a PATH-style format in your KUBECONFIG environment variable.
kubectl-eks (v0.4.3) then fails to load the configuration as the value is used as one filename:

$ kubectl eks addons
Failed to load kubeconfig: open .kubeconfig:/Users/5nafu/.kube/config:/Users/5nafu/.kube/config.d/01_preferences:/Users/5nafu/.kube/config.d/EKS:/Users/5nafu/.kube/config.d/openshift: no such file or directory
2023/11/01 15:21:38 open .kubeconfig:/Users/5nafu/.kube/config:/Users/5nafu/.kube/config.d/01_preferences:/Users/5nafu/.kube/config.d/EKS:/Users/5nafu/.kube/config.d/openshift: no such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant