kube-dump
kube-dump copied to clipboard
feat: flag to ignore cluster-info check
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.