Describe the bug
You are stuck to the default namespace if you try to use k9s without a context and rely on RBAC roles on the pod for authorisation.
This means if you do :namespace and chose another namespace, you are forced back to the default one.
However, if you type the shortcut 0, to swap to all namespaces, you can do so. You just cant if you do :namespace -> all. You also cant do po kube-system. However, as mentioned, I can see them fine in the 0 shortcut.
If you also run k9s with k9s -n kube-system it will also redirect you back to the default namespace.
To Reproduce
Deploy quay.io/derailed/k9s:v0.21.6 to kubernetes and create RBAC roles to restrict it.
Then open k9s after accessing the shell, and try to change namespace, you are forced to stay in default namespace.
Expected behavior
You can change namespace.
Versions (please complete the following information):
Isn't this related to https://github.com/derailed/k9s/issues/768?
Oh wow! Thank you so much! That worked perfectly!! :1st_place_medal:
I know I know, i'm a true hero today, saved you again! And you're welcome!
Most helpful comment
Oh wow! Thank you so much! That worked perfectly!! :1st_place_medal: