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

feat: flag to ignore cluster-info check

Open dajsn opened this issue 1 year ago • 0 comments

on OpenShift clusters it is common to have users/developers accounts with stripped down permissions. E.g. no access to "kube-system" at all, no listing of namespaces, ...

kube-dump ns -n mynamespace -r configmap Error from server (Forbidden): services is forbidden: User "abc" cannot list resource "services" in API group "" in the namespace "kube-system"

Which makes kube-dump not able to dump resources, even if it could access the resources in the namespace itself.

This commit adds the option to ignore the cluster-info check.

dajsn avatar Jul 06 '22 11:07 dajsn