Skip to content

Conversation

dajsn
Copy link

@dajsn dajsn commented Jul 6, 2022

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 added 2 commits July 6, 2022 12:57
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant