Skip to content

ci: automate Helm chart sync to fluent/helm-charts - #2092

Draft
joshuabaird wants to merge 1 commit into
fluent:masterfrom
joshuabaird:ci/sync-helm-charts
Draft

joshuabaird wants to merge 1 commit into
fluent:masterfrom
joshuabaird:ci/sync-helm-charts

Conversation

@joshuabaird

@joshuabaird joshuabaird commented Oct 30, 2026 •

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

Publishing the charts to fluent/helm-charts after each release is currently a manual copy-and-bump (e.g. fluent/helm-charts#767). This automates it:

  • hack/sync-helm-charts.sh <tag> <helm-charts-dir> copies the charts from the release tag, sets appVersion, bumps each chart version by the same level as the operator release, adds CHANGELOG entries from conventional commits that touched each chart, and runs helm-docs.
  • A new sync-helm-charts workflow runs the script and opens a PR in fluent/helm-charts. release-please dispatches it after each release, and it can be dispatched manually to re-run.
  • The stale chart CHANGELOGs in this repo are removed, since fluent/helm-charts owns them. RELEASE.md is updated.

Running the script for v3.11.0 against helm-charts before #767 produced the same charts, CRDs, values and READMEs as #767. Only the CHANGELOG wording differs, because the generated entries come from commit subjects.

Before this can merge:

  • A GitHub App needs to be installed on fluent/helm-charts with contents: write and pull-requests: write. Its client ID goes in the HELM_CHARTS_APP_CLIENT_ID variable and its private key in the HELM_CHARTS_APP_PRIVATE_KEY secret.
  • The fluent/helm-charts maintainers should agree to bot-opened PRs.

Which issue(s) this PR fixes:

None

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

RELEASE.md

Adds hack/sync-helm-charts.sh and a sync-helm-charts workflow that
release-please dispatches after each release. It opens a PR in
fluent/helm-charts with the synced charts, bumped versions, generated
CHANGELOG entries and regenerated READMEs.

Removes the stale chart CHANGELOGs here; fluent/helm-charts owns them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Josh Baird <jbaird@galileo.io>
@joshuabaird

Copy link
Copy Markdown
Collaborator Author

@edsiper Could you help us get a Github App created for this automation? Thanks!

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.

1 participant