-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Describe the bug
The Helm chart published to GitHub Pages (https://documentdb.github.io/documentdb-kubernetes-operator/index.yaml) advertises version 0.1.3, but its contents have drifted from the actual v0.1.3 release. The deploy_docs.yml workflow re-packages and overwrites the published 0.1.3 chart on every push to main that touches operator/documentdb-helm-chart/**, so the .tgz served to users silently includes post-release changes.
Evidence:
index.yamlshowscreated: "2026-03-05T15:52:05"rebuilt today, not at the original release time.- The
dependenciessection listscloudnative-pg: 0.27.0, but CNPG was only upgraded to 0.27.0 after the 0.1.3 release was cut. - The actual 0.1.3 release should have had the older CNPG dependency version.
To Reproduce
- Run
helm repo add documentdb https://documentdb.github.io/documentdb-kubernetes-operator - Run
helm repo update - Run
helm pull documentdb/documentdb-operator --version 0.1.3 --untar - Inspect
documentdb-operator/Chart.yamlnote thecloudnative-pgdependency is0.27.0 - Compare with the
v0.1.3Git tag the dependency version differs
Expected behavior
Running helm install documentdb/documentdb-operator --version 0.1.3 should install the exact chart that was released with v0.1.3, not a version that includes unreleased changes from main.
Root cause
The .github/workflows/deploy_docs.yml workflow (lines 4753) runs helm package and helm repo index on every push to main that modifies operator/documentdb-helm-chart/**. Because Chart.yaml still reads version: 0.1.3, each merge overwrites the published 0.1.3 .tgz with whatever is currently on main.
Suggested fix
Either:
- Only publish the Helm chart on
releaseevents remove the chart packaging from the docs workflow and trigger it from the release workflow instead, or - Bump
Chart.yamlto a dev pre-release version immediately after each release (e.g.,0.1.4-dev) so that pushes tomainnever overwrite a released version.
Kubernetes Environment (please complete the following information):
- DocumentDB Operator Version: 0.1.3 (Helm chart)
- Kubernetes Version: N/A (packaging/CI issue, not runtime)
- Kubernetes Environment: N/A
- Cert Bot Version: N/A
- CNPG Version: 0.27.0 (incorrectly shipped in the 0.1.3 chart)
Additional context
- Relevant workflow file:
.github/workflows/deploy_docs.yml - Helm repo index URL:
https://documentdb.github.io/documentdb-kubernetes-operator/index.yaml