Skip to content

fix(helm): track the app release line in the chart version - #615

Merged
therealbrad merged 1 commit into
mainfrom
fix/helm-chart-1.0.0
Sep 8, 2026
Merged

fix(helm): track the app release line in the chart version#615
therealbrad merged 1 commit into
mainfrom
fix/helm-chart-1.0.0

Conversation

@therealbrad

Copy link
Copy Markdown
Contributor

Description

The Helm chart sat at 0.1.1 while the app shipped 1.0.0, and appVersion was unset — so every rendered object carried an empty app.kubernetes.io/version label.

Sets both version and appVersion to 1.0.0.

The appVersion omission was deliberate once. Its stated rationale was that the application image is bring-your-own because the image bakes its domain at build time — true of the SaaS image, but not of testplanit-selfhost, which is domain-agnostic and multi-arch and is what the chart now defaults to. That constraint is gone, so the chart can name the release it ships against.

image.tag stays latest by default. Pinning it to a release is already documented in values.yaml and is unchanged here.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)

How Has This Been Tested?

  • Manual testing

helm lint passes, and helm template now renders app.kubernetes.io/version: "1.0.0" on every object where it was previously empty. Image references resolve to ghcr.io/testplanit/testplanit-selfhost:latest and :latest-workers, matching what release-selfhost.yml publishes.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • My changes generate no new warnings

Additional Notes

This does not by itself make the chart installable. ghcr.io/testplanit/testplanit-selfhost has never been published, so a helm install from the current chart still fails to pull. That needs the package to be seeded once with a write:packages credential — GITHUB_TOKEN cannot create a package that does not yet exist, which is why release-selfhost.yml failed with denied: permission_denied: write_package.

Chart publishing is also still manual (helm push); no workflow does it. That is why the chart version drifted from the app in the first place, and is worth automating in release-selfhost.yml as a follow-up.

The chart sat at 0.1.1 while the app shipped 1.0.0, and appVersion was
unset, so every rendered object carried an empty
app.kubernetes.io/version label.

The omission was deliberate once: appVersion made no sense while the
application image was bring-your-own, because the SaaS image bakes its
domain at build time. The self-host image removed that constraint — it is
domain-agnostic and multi-arch, and the chart defaults to it — so the
chart can name the release it ships against.

Set version and appVersion to 1.0.0. image.tag stays "latest" by default;
pinning it to a release is documented in values.yaml and unchanged here.
@therealbrad
therealbrad merged commit 5d34f08 into main Sep 8, 2026
5 checks passed
@therealbrad
therealbrad deleted the fix/helm-chart-1.0.0 branch September 8, 2026 03:12
@therealbrad

Copy link
Copy Markdown
Contributor Author

🎉 This PR is included in version 1.0.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

therealbrad added a commit that referenced this pull request Sep 8, 2026
The chart sat at 0.1.1 while the app shipped 1.0.0, and appVersion was
unset, so every rendered object carried an empty
app.kubernetes.io/version label.

The omission was deliberate once: appVersion made no sense while the
application image was bring-your-own, because the SaaS image bakes its
domain at build time. The self-host image removed that constraint — it is
domain-agnostic and multi-arch, and the chart defaults to it — so the
chart can name the release it ships against.

Set version and appVersion to 1.0.0. image.tag stays "latest" by default;
pinning it to a release is documented in values.yaml and unchanged here.

(cherry picked from commit 5d34f08)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant