Pin the chart version, and never reuse the tag
The chart in git is not the chart the cluster is running. Those are two artifacts, and treating them as one is how a “merged” change sits there doing nothing.
If you publish Helm charts and install them from a registry, the cluster consumes a version. Argo CD, Flux, or a plain helm upgrade is pointed at 1.4.2, not at a branch. Whatever bytes were pushed under that version are what gets rendered. The commit you just merged is irrelevant until someone publishes a new version and points the cluster at it.
The failure
It looks like this.
You change a template. You merge it. You watch the apps and nothing happens. The diff in git is real. The cluster is still rendering the chart it already had, because targetRevision still says 1.4.2, and 1.4.2 was built last week.
The worse version is the one that looks fixed. Someone re-pushes 1.4.2 with the new templates, over the same tag. The cluster may or may not pick that up, depending on whether the client cached the chart. Two clusters on “1.4.2” can now be running different templates, and the version number has stopped meaning anything.
A tag is a name for a specific build. Reusing it makes the name a lie.
The rule
One version, pushed once. A change to templates/ or to the default values.yaml gets a new version in Chart.yaml, and that version is what gets packaged and pushed. Clusters move by changing the version they track, in the same pull request as the chart change or in a follow-up you can point at.
What counts as a change is worth being dull about:
- Template or default-values change: bump the version. The rendered output can differ.
- A typo in the README: don’t. Publishing a release to fix prose trains people to ignore releases.
- A change that only matters in one environment: that does not belong in the chart’s defaults. It belongs in the values for that environment, which are a different file and a different review.
Start at 0.1.0 for a chart you are willing to break, and treat a breaking values change as a minor bump at least. The exact scheme matters less than never publishing two different charts under one number.
What to check in review
The chart change and the consumer change are a pair. Reviewing only the first one is how the cluster falls behind.
I look for three things.
The version in Chart.yaml moved, and the changelog or the PR says what the rendered output does differently. “Updated templates” is not a description.
The publish actually happened. A version that exists in git and not in the registry is the same bug as a version nobody bumped.
Every Application or Helm release that uses the chart has moved to the new version, or there is a written reason it has not. “We will roll it out later” is fine. Silent drift is not.
helm template against the old version and the new one, with the values that environment actually uses, is the diff that matters. The diff of templates/ is a hint. The rendered manifest is the change.
You might also be interested
Read the diff that will actually ship
The chart changed. The cluster will apply something else. A short habit for reviewing GitOps changes.
Requests are not limits
What the scheduler reserves, what the kernel enforces, and why setting them equal is a decision rather than a tidying-up.
Why this site is a static site
I moved the blog off WordPress onto Astro. What that actually changes, and what I gave up on purpose.