Sätt chartets platshållarversion till 0.9.2
Kosmetiskt, och görs ändå. .gitea/workflows/release.yaml stämplar både
version och appVersion från git-taggen när det publicerar (766f439), så de
här två raderna avgör ingenting om vad som hamnar i registret. Det enda de
gör är att bli lästa, och de sa 0.9.0 och "latest" genom både v0.9.0 och
v0.9.1 — ett träd på väg mot v0.9.2 som säger 0.9.0 påstår något falskt om
sig självt.
Första gången det görs i det här repot, så det finns inga tidigare
tillfällen att hänvisa till. Kommentaren ovanför raderna skrevs om samtidigt:
den hävdade att "latest" var ärligt eftersom det matchade image.tag i
values.yaml, vilket slutade gälla i och med den här ändringen. image.tag
ligger kvar på "latest", som är vad en lokal installation faktiskt drar;
appVersion är metadata och styr ingenting. Att låta kommentaren stå kvar
hade varit sämre än ingen kommentar alls, eftersom den är det en läsare
kontrollerar fälten mot.
Claude-Session: https://claude.ai/code/session_01S7R4gWTz5wh5xCY4nCSJjN
This commit is contained in:
@@ -4,8 +4,15 @@ description: A Helm chart for Terminal Duty — on-call alert management server
|
|||||||
type: application
|
type: application
|
||||||
# These two are placeholders for a local `helm install ./charts/terdut-server`, not the
|
# These two are placeholders for a local `helm install ./charts/terdut-server`, not the
|
||||||
# released values. .gitea/workflows/release.yaml rewrites both from the git tag when it
|
# released values. .gitea/workflows/release.yaml rewrites both from the git tag when it
|
||||||
# publishes, so the chart version always equals the app version. Bumping them by hand
|
# publishes, so the chart version always equals the app version.
|
||||||
# does nothing for a release and is not needed before tagging.
|
#
|
||||||
# "latest" is honest here: it matches image.tag in values.yaml.
|
# They are kept in step with the tag anyway. Being read is the only thing these two
|
||||||
version: 0.9.0
|
# lines do -- nothing that publishes looks at them -- and a tree heading for v0.9.2 that
|
||||||
appVersion: "latest"
|
# says 0.9.0 tells its reader something false. That is what they said until 2026-09-01,
|
||||||
|
# through two releases.
|
||||||
|
#
|
||||||
|
# appVersion and image.tag in values.yaml no longer agree, and that is not an oversight:
|
||||||
|
# image.tag stays "latest", which is what a local install actually pulls. appVersion is
|
||||||
|
# metadata and drives nothing.
|
||||||
|
version: 0.9.2
|
||||||
|
appVersion: "v0.9.2"
|
||||||
|
|||||||
Reference in New Issue
Block a user