Skip to content

Commit 7576196

Browse files
committed
chart+argocd: switch Image Updater to semver on git release tags
newest-build on raw short-SHA tags is non-deterministic: it sorts by image build date, which rebuilt machine-commit images had scrambled (picked fe4af75 over HEAD). SHA tags have no age-ordering. Switch to semver tracking on vX.Y.Z release tags: - imageupdater: updateStrategy semver, allowTags ^v[0-9]+\.[0-9]+\.[0-9]+$, helm name+tag mapping (image.repository/image.tag) - values: pin image.tag to v0.1.0 Updates now trigger on deliberate release tags, not every main push - correct cadence for an operator.
1 parent b1c1943 commit 7576196

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

argocd/imageupdater.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ spec:
1616
- alias: "operator"
1717
imageName: "ghcr.io/michelecampi/vllm-coldstart-operator"
1818
commonUpdateSettings:
19-
updateStrategy: "newest-build"
20-
allowTags: "regexp:^[0-9a-f]{7}$"
19+
updateStrategy: "semver"
20+
allowTags: "regexp:^v[0-9]+\\.[0-9]+\\.[0-9]+$"
2121
platforms:
2222
- "linux/amd64"
2323
manifestTargets:
2424
helm:
25+
name: "image.repository"
2526
tag: "image.tag"

chart/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# via git write-back. When spec is set, the image helper uses it verbatim.
55
image:
66
repository: ghcr.io/michelecampi/vllm-coldstart-operator
7-
tag: af7d696
7+
tag: v0.1.0
88
pullPolicy: IfNotPresent
99
# -- Managed by ArgoCD Image Updater. Full image reference, takes precedence.
1010
spec: ghcr.io/michelecampi/vllm-coldstart-operator:latest@sha256:d7ccf8580f42a87ea401f13eed9188fc8892b07bd2212357e87c7919f71fb98d

0 commit comments

Comments
 (0)