Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,18 @@ description: A Helm chart for Authorizer. Authorizer is an open-source authentic
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.4.6
# Chart version. Kept EQUAL to appVersion: `helm install --version X.Y.Z` gets
# Authorizer X.Y.Z, with no mapping table to consult.
#
# They drifted through the 2.4.x line because chart-only fixes patch-bumped this
# independently (chart 2.4.5 while the app was still 2.4.0), which then collided:
# by the time Authorizer 2.4.1 shipped, chart 2.4.1 had already been consumed.
# Re-synced at 2.4.1.
#
# So a chart-only fix does NOT bump this on its own — it rides the next
# Authorizer release, or you cut an Authorizer patch release to carry it.
# Versions follow Semantic Versioning (https://semver.org/).
version: 2.4.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
17 changes: 13 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,16 @@ extraEnv:

## Upgrading

**Chart version** (`version` in `Chart.yaml`) is incremented for any template, values, or packaging change. **App version** (`appVersion`) tracks the Authorizer binary release and is updated automatically by `release.sh` on each release.
**Chart version and app version are the same number.** `helm install --version 2.4.1`
gets Authorizer 2.4.1 — there is no mapping table to consult. `release.sh` sets both
on each Authorizer release.

A chart-only fix (templates, values, packaging) does **not** bump the version on its
own: it rides the next Authorizer release, or you cut an Authorizer patch release to
carry it. That rule is what keeps the two in step — they drifted through 2.4.x
precisely because chart-only fixes bumped independently, and the versions then
collided when chart `2.4.1` had already been used up by the time Authorizer 2.4.1
shipped. Re-synced at 2.4.1.

When upgrading the chart, check the [CHANGELOG](CHANGELOG.md) and [MIGRATION.md](https://github.com/authorizerdev/authorizer/blob/main/MIGRATION.md) for breaking changes introduced by the app version bump.

Expand All @@ -330,9 +339,9 @@ to `main`. A chart that does not boot cannot reach `index.yaml`. Netlify serves
root at https://helm-charts.authorizer.dev, so the new version is live once that
commit deploys.

To cut a release, bump `version` in `Chart.yaml` (and `appVersion` when the binary
changes) and merge to `main`. Nothing else. A version that is already packaged under
`charts/` is skipped, so re-runs are no-ops.
To cut a release, set `version` and `appVersion` in `Chart.yaml` to the same
Authorizer version and merge to `main` — `release.sh` does this for you. Nothing else.
A version already packaged under `charts/` is skipped, so re-runs are no-ops.

Do not put a CI-skip marker in a commit that touches `charts/` or `index.yaml` —
Netlify honours those markers and the chart will land in git without ever being served.
Expand Down
Binary file added charts/authorizer-2.4.1.tgz
Binary file not shown.
Binary file removed charts/authorizer-2.4.3.tgz
Binary file not shown.
Binary file removed charts/authorizer-2.4.4.tgz
Binary file not shown.
Binary file removed charts/authorizer-2.4.5.tgz
Binary file not shown.
Binary file removed charts/authorizer-2.4.6.tgz
Binary file not shown.
174 changes: 63 additions & 111 deletions index.yaml

Large diffs are not rendered by default.

Loading