-
Notifications
You must be signed in to change notification settings - Fork 309
helm(v4): Breaks fluent-bit-crds out into separate top-level chart #1795
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
helm(v4): Breaks fluent-bit-crds out into separate top-level chart #1795
Conversation
Signed-off-by: Josh Baird <[email protected]>
Signed-off-by: Josh Baird <[email protected]>
Signed-off-by: Josh Baird <[email protected]>
Signed-off-by: Josh Baird <[email protected]>
Signed-off-by: Josh Baird <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR extracts the fluent-bit-crds from an embedded sub-chart within fluent-operator to a separate, independently versioned top-level chart. This mirrors the approach previously taken for fluentd-crds and enables better CRD lifecycle management with automatic upgrades via helm upgrade.
Key Changes:
- Created new top-level
fluent-bit-crdschart (v0.1.0) with proper metadata and documentation - Removed the old embedded sub-chart from
charts/fluent-operator/charts/fluent-bit-crds - Added support for
additionalAnnotationsin all Fluent Bit CRD templates to enable thehelm.sh/resource-policy: keepannotation pattern
Reviewed Changes
Copilot reviewed 23 out of 24 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| charts/fluent-bit-crds/Chart.yaml | New top-level chart metadata with proper versioning, maintainers, and keywords |
| charts/fluent-bit-crds/values.yaml | Adds additionalAnnotations configuration option for CRD lifecycle management |
| charts/fluent-bit-crds/README.md | Auto-generated documentation for the new chart |
| charts/fluent-bit-crds/README.md.gotmpl | Template for generating chart documentation |
| charts/fluent-bit-crds/.helmignore | Standard Helm ignore patterns for the new chart |
| charts/fluent-bit-crds/templates/*.yaml | All 13 Fluent Bit CRD templates now include additionalAnnotations support with consistent formatting |
| charts/fluent-operator/Chart.yaml | Updates dependency to reference the new external chart repository with proper condition |
| charts/fluent-operator/charts/fluent-bit-crds/Chart.yaml | Removed embedded sub-chart (also fixes typo "fluenbt-bit" that existed in old file) |
| charts/fluent-operator/charts/fluent-bit-crds/values.yaml | Removed embedded sub-chart values file |
| charts/fluent-operator/MIGRATION-v4.md | Comprehensive documentation updates explaining the CRD lifecycle changes for both Fluent Bit and Fluentd |
| hack/mutate-crds.sh | Adds fluent-bit-crds templates to the CRD mutation script |
| Makefile | Updates manifests target to generate CRDs to new location and adds helm-docs for fluent-bit-crds |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Josh Baird <[email protected]>
Signed-off-by: Josh Baird <[email protected]>
365b62f to
e66f7e4
Compare
Signed-off-by: Josh Baird <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
marcofranssen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
…luent#1795) * Add new fluent-bit-crds chart. Signed-off-by: Josh Baird <[email protected]> * Modify depdendncy. Signed-off-by: Josh Baird <[email protected]> * Remove legacy chart. Signed-off-by: Josh Baird <[email protected]> * Reset. Signed-off-by: Josh Baird <[email protected]> * Update migration doc. Signed-off-by: Josh Baird <[email protected]> * Use file references for dev. Signed-off-by: Josh Baird <[email protected]> * Use repo URLs for deps. Signed-off-by: Josh Baird <[email protected]> * Add cwGuo email. Signed-off-by: Josh Baird <[email protected]> * Apply suggestion from @marcofranssen Signed-off-by: Marco Franssen <[email protected]> * Apply suggestion from @marcofranssen Signed-off-by: Marco Franssen <[email protected]> * Apply suggestion from @marcofranssen Signed-off-by: Marco Franssen <[email protected]> * Apply suggestion from @marcofranssen Signed-off-by: Marco Franssen <[email protected]> --------- Signed-off-by: Josh Baird <[email protected]> Signed-off-by: Marco Franssen <[email protected]> Co-authored-by: Marco Franssen <[email protected]>
Part of fixing #1765.