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(support-bundle): allow cluster resource to be overwrite by different spec or merging namespaces #5020

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DexterYan
Copy link
Member

What this PR does / why we need it:

  • KOTS will only ever collect the information from its own namespace from default support bundle spec
  • now you can use other spec to overwrite combine namespaces

Which issue(s) this PR fixes:

sc-116165

Does this PR require a test?

NONE

Does this PR require a release note?

NONE

Does this PR require documentation?

NONE

@DexterYan DexterYan added the type::feature New feature or request label Nov 21, 2024
Copy link
Member

@banjoh banjoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not think merging clusterResources collectors logic should be here. We already have this implemented in https://github.com/replicatedhq/troubleshoot/blob/9f5f0633cf68e701e3d987aca211ea9bd2d151cc/pkg/collect/cluster_resources.go#L55. We should rely on how troubleshoot does it instead of duplicating the logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants