-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
(Same as #2916, but as no one replied there, I felt free to recreate it)
Describe the bug
When in the helm
view I can't switch namespaces via the short cuts (pressing 0, 1, 2, ...).
But as a workaround, going from :helm
in namespace A
to some other kind like :pods
, then change namespace there, to then go back to :helm
just works.
To Reproduce
Steps to reproduce the behavior:
-
open k9s
-
go to the namespace view
:namespace
-
press enter on any namespace that contains a helm release
-
go to the helm view
:helm
-
now the helm releases of that namespace should be listed
-
try changing the namespace by using the short cuts 0, 1, 2, ...
- 0 yields the error
current user can't access namespace all
- 1 yieds the error ``list access denied for user on "":helm`
- 0 yields the error
-
close k9s
-
run
helm list -A
and see all helm releases across the cluster
Log output
ERR Flash error error="`list access denied for user on \"namespaceY\":helm"
(where namespaceY was redacted)
Expected behavior
Changing ns through number shortcuts should work the same way, as changing ns in an other kind and go back to :helm
Versions (please complete the following information):
- OS: macOS
- K9s: 0.50.6
- K8s: 1.34.1