Skip to content

Conversation

@hedge-sparrow
Copy link
Member

@hedge-sparrow hedge-sparrow commented Jun 10, 2025

Adds log collectors for:

  • wg-easy
  • cert-manager
  • traefik

@hedge-sparrow hedge-sparrow marked this pull request as ready for review June 11, 2025 09:21
@hedge-sparrow hedge-sparrow requested a review from banjoh June 12, 2025 09:33
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.

LGTM

@@ -0,0 +1,12 @@
{{- define "cert-manager.supportbundle" -}}
Copy link
Member

Choose a reason for hiding this comment

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

Nice approach of using tpl helpers. It makes editing the spec easier and less error prone such as getting indentations wrong.

Something to consider is adding a way to test a spec is valid. Just rendering it using support-bundle --dry-run should suffice. If you'd like, you can compare the number of collectors & analysers from the dry run output with an expected number.

Copy link
Member

Choose a reason for hiding this comment

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

The test would then be added to the CI workflow once #69 is merged

Copy link
Member Author

Choose a reason for hiding this comment

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

Cool, I'll have a think about testing in a future PR. a common testing framework for "does my support bundle do what I thought it did" would be nice.

@hedge-sparrow hedge-sparrow merged commit 0284242 into main Jun 12, 2025
1 check passed
@hedge-sparrow hedge-sparrow deleted the ash/support-bundle-specs branch June 12, 2025 10:53
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.

3 participants