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

Created rancher-resource-enumerator script #174

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

Conversation

VltraHeaven
Copy link

@VltraHeaven VltraHeaven commented Jun 23, 2022

  • rancher-resource-enumerator discovers all rancher-related CRD's (*.cattle.io) and enumerates the custom resources that currently exist in the cluster.
  • Built in options to enumerate all custom resources -a, non-namespaced resources -c, or custom resources for a space-delimited list of specific namespaces -n <namespace>

- rancher-resource-enumerator.sh counts all namespaced and non-namespaced custom resources that belong to Rancher's `*.cattle.io` CRDs
- Moved imperative operations to functions
- Cleaned up getopts
- Updated usage output
@leodotcloud
Copy link
Contributor

Is it possible to scrub/sanitize the CRDs for any secrets?

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.

2 participants