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

Exclude secrets #38

Open
stuart14 opened this issue Aug 22, 2022 · 2 comments · May be fixed by #42
Open

Exclude secrets #38

stuart14 opened this issue Aug 22, 2022 · 2 comments · May be fixed by #42
Assignees
Labels
question Further information is requested

Comments

@stuart14
Copy link

Nice script:)

Is there a way to exclude resource kind=secrets from the dump?

@WoozyMasta
Copy link
Owner

WoozyMasta commented Aug 25, 2022

Hi
The exclusion functionality is not yet implemented, you can explicitly specify which resources you want to save, for example:

./kube-dump ns -n dev,prod -r deployment,sts,ds,svc,cm
# or
MODE=ns NAMESPACES=dev,prod NAMESPACED_RESOURCES=deployment,sts,ds,svc,cm ./kube-dump

@WoozyMasta WoozyMasta added the question Further information is requested label Aug 25, 2022
@WoozyMasta WoozyMasta self-assigned this Aug 25, 2022
@WoozyMasta
Copy link
Owner

#25

sagb added a commit to sagb/kube-dump that referenced this issue Jul 4, 2023
Rationale: deployment tools like argocd clog up
its namespace with thousands of dynamic events,
which are unnecessary to dump.
Closes: WoozyMasta#38
See Also: WoozyMasta#25
@sagb sagb linked a pull request Jul 4, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants