Skip to content

chore: sync chart version with the Authorizer version - #16

Merged
lakhansamani merged 1 commit into
mainfrom
chore/sync-chart-version-with-app
Sep 3, 2026
Merged

chore: sync chart version with the Authorizer version#16
lakhansamani merged 1 commit into
mainfrom
chore/sync-chart-version-with-app

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor

Makes helm install --version 2.4.1 get Authorizer 2.4.1. No mapping table.

Why they drifted

Chart-only fixes patch-bumped the chart independently of the app:

chart appVersion
2.4.0 2.4.0 in sync
2.4.1 – 2.4.5 2.4.0 five chart-only fixes, all on the same day
2.4.6 2.4.1 the collision

By the time Authorizer 2.4.1 shipped, chart version 2.4.1 was already consumed by a chart-only fix, so the release had to land as chart 2.4.6. That is the failure mode, not just cosmetic drift.

Note the 1.x line was synced (chart 1.3.8 = app 1.3.8, 1.4.0 = 1.4.0); this is a regression introduced in 2.x, not a new policy.

Change

  • Chart.yaml: version: 2.4.1 to match appVersion: "2.4.1".
  • The rule that keeps it synced, written into Chart.yaml and the README: a chart-only fix does not bump the version on its own — it rides the next Authorizer release, or you cut an Authorizer patch release to carry it. Without that rule the drift simply restarts.
  • release.sh now sets both fields to the release version instead of patch-bumping the chart. (It also had a silently-broken README sync — the sed stopped matching when the README was reworded, so the README advertised a stale appVersion for the whole 2.4.x line. Fixed, and it now fails loudly instead of skipping.)

Removed artifacts

Deleted 2.4.3, 2.4.4, 2.4.5, 2.4.6 and republished their template fixes as 2.4.1, so every 2.4.x chart maps 1:1 to an Authorizer release. index.yaml is regenerated from charts/59 entries, 59 files, verified.

Consequence worth stating: chart 2.4.0 is now the only chart for app 2.4.0 and therefore lacks the later template fixes (b64enc numeric values, the redirect_uris guard). That is acceptable because 2.4.0 is the release both published advisories affect — anyone on it should move to 2.4.1 regardless. The new 2.4.1 package carries all of those fixes (verified: 4 redirect_uris references in the rendered template).

Safe to do now because the chart has no live users. helm lint passes and the rendered image resolves to quay.io/authorizer/authorizer:2.4.1.

https://claude.ai/code/session_016dbRdiyrapnT7J3tAyZhdR

`helm install --version 2.4.1` now gets Authorizer 2.4.1. There is no
mapping table to consult, which is the whole point.

The two drifted through the 2.4.x line because chart-only fixes
patch-bumped the chart independently: the chart reached 2.4.5 while the
app was still 2.4.0, and by the time Authorizer 2.4.1 shipped the chart
version 2.4.1 had already been consumed — so the release landed as chart
2.4.6/app 2.4.1.

Re-synced at 2.4.1, and the rule that keeps it synced is written down in
Chart.yaml and the README: a chart-only fix does not bump the version on
its own, it rides the next Authorizer release. release.sh now sets both
fields to the release version instead of patch-bumping the chart.

Removed the four chart-only artifacts that caused the drift (2.4.3,
2.4.4, 2.4.5, 2.4.6) and republished their template fixes as 2.4.1, so
every 2.4.x chart maps 1:1 to an Authorizer release. index.yaml is
regenerated from charts/ (59 entries, 59 files). Chart 2.4.0 is left as
the only chart for app 2.4.0 and therefore lacks those later template
fixes — acceptable because 2.4.0 is the release both published
advisories affect, and everyone on it should move to 2.4.1.

Safe to do now because the chart has no live users.

Claude-Session: https://claude.ai/code/session_016dbRdiyrapnT7J3tAyZhdR
@netlify

netlify Bot commented Sep 3, 2026

Copy link
Copy Markdown

Deploy Preview for authorizer-helm-chart ready!

Name Link
🔨 Latest commit c47ebd4
🔍 Latest deploy log https://app.netlify.com/projects/authorizer-helm-chart/deploys/6a996e7aed89480008d1eef1
😎 Deploy Preview https://deploy-preview-16--authorizer-helm-chart.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lakhansamani
lakhansamani merged commit 627ad85 into main Sep 3, 2026
5 checks passed
@lakhansamani
lakhansamani deleted the chore/sync-chart-version-with-app branch September 3, 2026 12:58
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