kube-prompt icon indicating copy to clipboard operation
kube-prompt copied to clipboard

Is there a reason kube-prompt needs to fetch all namespaces?

Open Ilyes512 opened this issue 6 years ago • 1 comments

I noticed that when I try to start kube-prompt and my current context has a user that is not allowed to list all namespaces that it prompts me the fallowing error:

error namespaces is forbidden: User "system:serviceaccount:<name>:<another-name>" cannot list namespaces at the cluster scope

However, kube-prompt works just fine when I switch to a user without namespace list right from a user with those rights.

Ilyes512 avatar Mar 06 '19 23:03 Ilyes512

Hi, I have the same issue. Is it possible to limit to all authorized namespaces?

malys avatar Mar 23 '19 14:03 malys