-
Notifications
You must be signed in to change notification settings - Fork 326
helm(v4): Split fluent-operator-crds chart into separate charts for fluentd and fluent-bit CRDs #1929
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
Merged
marcofranssen
merged 10 commits into
fluent:master
from
joshuabaird:chore/split-crd-charts
Apr 22, 2026
Merged
helm(v4): Split fluent-operator-crds chart into separate charts for fluentd and fluent-bit CRDs #1929
Changes from 7 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
f2043e3
Add fluent-operator-crds-fluentd chart.
joshuabaird aca2a18
Add fluent-operator-crds-fluent-bit chart.
joshuabaird 5896315
Update Makefile.
joshuabaird bd8c242
Update mutate-crds.
joshuabaird a2f92e4
Update docs.
joshuabaird 9355246
Touch up docs.
joshuabaird 8f7169e
Fix mutate-creds.
joshuabaird d7fed56
Clarify chart docs.
joshuabaird 09d2898
Fix whitespace.
joshuabaird bf0835e
Rename charts.
joshuabaird File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Fluent Operator CRDs (Fluent Bit) Helm Chart Changelog | ||
|
|
||
| > [!NOTE] | ||
| > All notable changes to this project will be documented in this file; the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
|
||
| <!-- | ||
| ### Added - For new features. | ||
| ### Changed - For changes in existing functionality. | ||
| ### Deprecated - For soon-to-be removed features. | ||
| ### Removed - For now removed features. | ||
| ### Fixed - For any bug fixes. | ||
| ### Security - In case of vulnerabilities. | ||
| --> | ||
|
|
||
| ## [UNRELEASED] | ||
|
|
||
| ## [v4.0.0] - 2026-04-19 | ||
|
|
||
| ### Changed | ||
|
|
||
| - Initial release of v4 chart | ||
|
|
||
| <!-- | ||
| RELEASE LINKS | ||
| --> | ||
| [UNRELEASED]: https://github.com/fluent/helm-charts/tree/main/charts/fluent-operator-crds-fluent-bit | ||
| [v4.0.0]: https://github.com/fluent/helm-charts/releases/tag/fluent-operator-crds-fluent-bit-4.0.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| apiVersion: v2 | ||
| name: fluent-operator-crds-fluent-bit | ||
| description: Custom Resource Definitions (CRDs) for Fluent Bit. Provides full Helm lifecycle management for all Fluent Bit CRDs used by Fluent Operator. | ||
| type: application | ||
| version: 0.0.0-dev.0 # This is a development chart which gets released and versioned in the fluent/helm-charts repo | ||
| # renovate: datasource=docker depName=ghcr.io/fluent/fluent-operator/fluent-operator | ||
| appVersion: 3.7.0 | ||
| keywords: | ||
| - logging | ||
| - fluent-bit | ||
| - fluent-operator | ||
| - crds | ||
| home: https://github.com/fluent/fluent-operator | ||
| icon: https://raw.githubusercontent.com/fluent/fluent-operator/master/docs/images/fluent-operator-icon.svg | ||
| sources: | ||
| - https://github.com/fluent/fluent-operator/tree/master/charts/fluent-operator-crds-fluent-bit | ||
| maintainers: | ||
| - name: wenchajun | ||
| email: dehaocheng@kubesphere.io | ||
| - name: marcofranssen | ||
| email: marco.franssen@gmail.com | ||
| url: https://marcofranssen.nl | ||
| - name: joshuabaird | ||
| email: joshbaird@gmail.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| ## Installation | ||
|
|
||
| ### Install Fluent Bit CRDs | ||
|
|
||
| ```bash | ||
| helm install fluent-operator-crds-fluent-bit fluent/fluent-operator-crds-fluent-bit | ||
| ``` | ||
|
|
||
| ## Protecting CRDs from Deletion | ||
|
|
||
| To prevent CRDs from being deleted on `helm uninstall`: | ||
|
|
||
| ```bash | ||
| helm install fluent-operator-crds-fluent-bit fluent/fluent-operator-crds-fluent-bit \ | ||
| --set additionalAnnotations."helm\.sh/resource-policy"=keep | ||
| ``` | ||
|
|
||
| With this annotation, Helm will preserve the CRDs even if the chart is uninstalled. | ||
|
|
||
| ## Using with fluent-operator | ||
|
|
||
| After installing the CRDs with this chart, install the operator with `--skip-crds`: | ||
|
|
||
| ```bash | ||
| # Step 1: Install Fluent Bit CRDs | ||
| helm install fluent-operator-crds-fluent-bit fluent/fluent-operator-crds-fluent-bit | ||
|
|
||
| # Step 2: Optionally install Fluentd CRDs | ||
| helm install fluent-operator-crds-fluentd fluent/fluent-operator-crds-fluentd | ||
|
|
||
| # Step 3: Install operator (skip CRDs since already installed) | ||
| helm install fluent-operator fluent/fluent-operator --skip-crds | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
charts/fluent-operator-crds/values.yaml → ...uent-operator-crds-fluent-bit/values.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,2 @@ | ||
| # -- Enable Fluent Bit CRDs | ||
| fluentbit: | ||
| enabled: true | ||
|
|
||
| # -- Enable Fluentd CRDs | ||
| fluentd: | ||
| enabled: true | ||
|
|
||
| # -- Additional annotations for all CRDs (e.g., helm.sh/resource-policy: keep to prevent deletion on uninstall) | ||
| additionalAnnotations: {} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I would do a crds postfix similar like all crds charts are postfixed with this naming convention.
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.
@marcofranssen Renamed in bf0835e