Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: flag to ignore cluster-info check #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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.

None yet

1 participant