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

App ignores KUBECONFIG env var and expects $HOME/.kube/config to exist instead #26

Closed
pslattery-wyn opened this issue Dec 8, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pslattery-wyn
Copy link

netfetch scan
It appears you are not connected to a Kubernetes cluster. Please check your kubeconfig.
Error during scan: stat /home/username/.kube/config: no such file or directory

echo $KUBECONFIG
/home/username/.kube/myclustername.config

# A workaround:
cp ~/.kube/myclustername.config ~/.kube/config
@deggja deggja added the bug Something isn't working label Dec 9, 2023
@deggja deggja self-assigned this Dec 9, 2023
@deggja
Copy link
Owner

deggja commented Dec 9, 2023

@pslattery-wyn Thanks for testing. I'm picking up this and making the kubeconfig check a bit more versatile.

@deggja deggja closed this as completed in 66015e3 Dec 9, 2023
@deggja
Copy link
Owner

deggja commented Dec 9, 2023

@pslattery-wyn Implemented logic to check for a kubeconfig env variable. Should solve your error.

Homebrew tap has been updated with new changes. Feel free to verify that everything looks good for you.

deggja added a commit that referenced this issue May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants