c-bata / kube-prompt

An interactive kubernetes client featuring auto-complete.
MIT License
1.78k stars 133 forks source link

Continue if we cannot list namespace #70

Closed c-bata closed 4 years ago

c-bata commented 4 years ago

To avoid a following error when the user has no permission to list namespaces.

$ kube-prompt 
error namespaces is forbidden: User "system:serviceaccount:hoge:hoge" cannot list resource "namespaces" in API group "" at the cluster scope