Skip to content

Conversation

@joshuabaird
Copy link
Collaborator

@joshuabaird joshuabaird commented Nov 20, 2025

Part of fixing #1765.

Signed-off-by: Josh Baird <[email protected]>
Signed-off-by: Josh Baird <[email protected]>
@joshuabaird joshuabaird changed the title Add new fluent-bit-crds chart. helm(v4): Breaks fluent-bit-crds out into separate top-level chart Nov 20, 2025
Signed-off-by: Josh Baird <[email protected]>
Signed-off-by: Josh Baird <[email protected]>
@joshuabaird joshuabaird marked this pull request as ready for review November 20, 2025 14:50
Copilot finished reviewing on behalf of joshuabaird November 20, 2025 14:53
Copy link

Copilot AI left a 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-crds chart (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 additionalAnnotations in all Fluent Bit CRD templates to enable the helm.sh/resource-policy: keep annotation 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]>
@joshuabaird joshuabaird force-pushed the chore/fluent-bit-chart branch from 365b62f to e66f7e4 Compare November 21, 2025 14:40
Signed-off-by: Josh Baird <[email protected]>
Copy link
Collaborator

@marcofranssen marcofranssen left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@marcofranssen marcofranssen merged commit 71604fa into fluent:master Nov 21, 2025
10 of 12 checks passed
cw-Guo pushed a commit to cw-Guo/fluent-operator that referenced this pull request Nov 22, 2025
…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]>
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