Skip to content

Fix update checks for OCI tags and yanked chart versions - #1353

Merged
josef-hak merged 2 commits into
k0rdent:mainfrom
josef-hak:fix-update
Oct 8, 2026
Merged

josef-hak merged 2 commits into
k0rdent:mainfrom
josef-hak:fix-update

Conversation

@josef-hak

Copy link
Copy Markdown
Collaborator

agent-gateway: the 'v' prefix was stripped from v2.2.1 and 2.2.1 written to st-charts.yaml, but an OCI registry is addressed by tag, so every later 'helm show chart --version' failed. Record the tag for OCI and keep stripping only for https, where the index is keyed by the chart version.

mysql: mysql-operator keeps only the latest version in its index, so querying the appVersion of 2.2.3 aborted the whole app. Warn and reuse the appVersion already in charts.yaml instead.

agent-gateway: the 'v' prefix was stripped from v2.2.1 and 2.2.1 written to
st-charts.yaml, but an OCI registry is addressed by tag, so every later
'helm show chart --version' failed. Record the tag for OCI and keep stripping
only for https, where the index is keyed by the chart version.

mysql: mysql-operator keeps only the latest version in its index, so querying
the appVersion of 2.2.3 aborted the whole app. Warn and reuse the appVersion
already in charts.yaml instead.
During a tagging convention change a registry can carry both spellings of one
release (agentgateway has 1.1.0 and v1.1.0). Equal versions were resolved by
whichever the registry returned first, so the recorded version could flip
between runs and open a cosmetic update PR. Prefer the tag already in
st-charts.yaml, then its prefix style.
@josef-hak
josef-hak merged commit 3fccf62 into k0rdent:main Oct 8, 2026
7 checks passed
@josef-hak
josef-hak deleted the fix-update branch October 8, 2026 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant