Skip to content

Support for namespaced resources in the collect script - #160

Open
rh-tguittet wants to merge 2 commits into
DataDog:mainfrom
rh-tguittet:collector-script-namespaced-resources
Open

Support for namespaced resources in the collect script#160
rh-tguittet wants to merge 2 commits into
DataDog:mainfrom
rh-tguittet:collector-script-namespaced-resources

Conversation

@rh-tguittet

Copy link
Copy Markdown

The collect.sh script did not fully differentiate between namespaced and non-namespaced api-resources. If you used it to quickly dump an entire cluster or turn the allowlist off, non-namespaced resources will be pulled and stored for each namespace in the cluster.

On request, I can refactor the code and extract the logic to a single function.

@rh-tguittet
rh-tguittet requested a review from a team as a code owner January 12, 2024 09:36
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