Skip to content

fix(chart): make empty image-tag default resolve to a published tag (#277)#281

Open
shimib wants to merge 1 commit into
llm-d-incubation:mainfrom
shimib:fix/chart-appversion-v-prefix
Open

fix(chart): make empty image-tag default resolve to a published tag (#277)#281
shimib wants to merge 1 commit into
llm-d-incubation:mainfrom
shimib:fix/chart-appversion-v-prefix

Conversation

@shimib

@shimib shimib commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

Fixes the appVersion / image-tag v-prefix mismatch (#277).

The release publish script (scripts/publish-helm-chart.sh) tagged images with the git tag verbatim (e.g. v0.7.1) but stripped the leading v when writing appVersion. The chart's recommended "leave ap.image.tag empty to track appVersion" default renders {{ .Values.ap.image.tag | default .Chart.AppVersion }}, so clearing the tag resolved to ghcr.io/llm-d-incubation/llm-d-async:0.7.1 — a tag that does not exist (only v0.7.1 is published) → ImagePullBackOff.

Fix

  • Keep .version as bare SemVer (OCI/Helm requirement).
  • Set .appVersion from the v-prefixed VERSION so the empty-tag default matches the published image.

How was this tested?

Simulated the publish step (yq mutations with VERSION=v0.7.1) and rendered the chart:

  • version: 0.7.1, appVersion: "v0.7.1"
  • pinned tag → ...llm-d-async:v0.7.1
  • empty tag (recommended) → ...llm-d-async:v0.7.1 (previously :0.7.1, broken)
  • helm lint passes

Related Issues

Fixes #277

…lt resolves

The publish script tagged released images with the git tag verbatim
(e.g. v0.7.1) but stripped the leading 'v' from appVersion. The chart's
recommended 'leave ap.image.tag empty' default falls back to
.Chart.AppVersion, which then resolved to a nonexistent tag (0.7.1)
instead of the published v0.7.1 -> ImagePullBackOff.

Keep .version as bare SemVer (OCI/Helm requirement) but set .appVersion
from the v-prefixed VERSION so the empty-tag default matches the image
that is actually published.

Fixes llm-d-incubation#277

Signed-off-by: Shimi Bandiel <shimib@google.com>
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.

Chart appVersion / image-tag 'v' mismatch breaks the recommended empty-tag default

1 participant