You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If the k8s config.yml is owned by root, k9s will throw Boom!! runtime error: invalid memory address or nil pointer dereference. because this check doesn't check for os.IsPermission, so f will be nil.
Expected behavior
I think in this case, a helpful error message would be desired, instead of a panic.
Can also suggest something like run k9s with sudo, or chown your config or something.
Versions (please complete the following information):
OS: OSX
K9s: v0.31.9
K8s:
Client Version: v1.27.2
Kustomize Version: v5.0.1
Server Version: v1.28.5-eks-5e0fdde
The text was updated successfully, but these errors were encountered:
Describe the bug
If the k8s config.yml is owned by root, k9s will throw
Boom!! runtime error: invalid memory address or nil pointer dereference.
because this check doesn't check foros.IsPermission
, sof
will benil
.Logs:
To Reproduce
Steps to reproduce the behavior:
chown
your k8s config.yml to rootExpected behavior
I think in this case, a helpful error message would be desired, instead of a panic.
Can also suggest something like run k9s with sudo, or chown your config or something.
Versions (please complete the following information):
Client Version: v1.27.2
Kustomize Version: v5.0.1
Server Version: v1.28.5-eks-5e0fdde
The text was updated successfully, but these errors were encountered: