Skip to content

helm chart: v4 refactor#1869

Open
joshuabaird wants to merge 13 commits intofluent:masterfrom
joshuabaird:chore/helm-v4-refactor
Open

helm chart: v4 refactor#1869
joshuabaird wants to merge 13 commits intofluent:masterfrom
joshuabaird:chore/helm-v4-refactor

Conversation

@joshuabaird
Copy link
Collaborator

@joshuabaird joshuabaird commented Feb 13, 2026

This PR implements several re-factors for the initial Helm chart v4 release of fluent-operator:

  • Include fluent-bit and fluentd CRDs in the crds/ directory of the fluent-operator chart to follow Helmv3 standards and best practices
  • Adds a new fluent-operator-crds chart that enables optional advanced/out-of-band management of the fluentd and fluent-bit CRDs
  • Remove legacy CRD chart dependencies from the fluent-operator chart
  • Remove legacy (also unreleased!) fluent-bit-crds and fluentd-crds charts (no longer necessary since we introduced the fluent-operator-crds chart)
  • Reformat fluent-operator's values.yaml to be compatible with helm-docs so we can autogenerate docs for the chart
  • Updates fluent-operator chart README
  • Updates v4 MIGRATION doc

@joshuabaird joshuabaird force-pushed the chore/helm-v4-refactor branch from 9e97d2b to d3e721f Compare February 13, 2026 19:44
@joshuabaird joshuabaird changed the title helm: v4 refactor helm chart: v4 refactor Feb 13, 2026
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
@joshuabaird joshuabaird force-pushed the chore/helm-v4-refactor branch from c17fc63 to 6817b70 Compare February 25, 2026 20:54
Signed-off-by: Josh Baird <jbaird@galileo.io>
@joshuabaird joshuabaird marked this pull request as ready for review February 26, 2026 14:25
Copy link

@stevehipwell stevehipwell left a comment

Choose a reason for hiding this comment

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

@joshuabaird this looks like a better pattern, I've added a couple of nits that may be useful.

RE the bigger picture, I think the following are worth considering.

  • Don't keep the README in this repo
    • Keep the README template in the helm-charts repos and generate the README as part of the PR to copy the chart there
    • This will make it clearer that the chart in this repo shouldn't be used
  • Don't Update Chart.yaml version in this repo
    • Keep version static (e.g. 0.0.1-dev.0)
    • Update appVersion as appropriate
    • Set the version in the PR to copy the chart to the helm-charts repo
    • This will make it clearer that the chart in this repo shouldn't be used

@@ -1,3 +1,4 @@
{{- if .Values.fluent-bit.enabled }}
---

Choose a reason for hiding this comment

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

You don't need and shouldn't have YAML document separators where they're not being used (same goes for all of the rest).

type: application
version: 0.2.1
appVersion: v3.6.0
version: 4.0.0

Choose a reason for hiding this comment

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

Why is this already at v4? I'd suggest using either 0.x.0 or 1.0.0-beta.1 while you get this all tested out.

{{- with .Values.additionalAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
controller-gen.kubebuilder.io/version: v0.18.0

Choose a reason for hiding this comment

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

You should remove this as you wouldn't want to churn a CRD for an unrelated annotation change (same goes for all the others). Personally I'd make sure these are removed as part of the gen process.

appVersion: v3.6.0
version: 4.0.0
# renovate: datasource=docker depName=ghcr.io/fluent/fluent-operator/fluent-operator
appVersion: "3.6.0"

Choose a reason for hiding this comment

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

Suggested change
appVersion: "3.6.0"
appVersion: 3.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants