From 340622f113c4dfdfd9ef3519d7f00e09ab96982d Mon Sep 17 00:00:00 2001 From: git_admin Date: Wed, 29 Apr 2026 07:30:12 +0000 Subject: [PATCH] chart: inject TOWER_VERSION env from image tag Lets the substrate endpoint surface the running tag without depending on Go ldflag tricks. Single source of truth: bumping the chart tag automatically bumps what the UI displays. --- templates/backend-deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/backend-deployment.yaml b/templates/backend-deployment.yaml index fc65960..814a4cd 100644 --- a/templates/backend-deployment.yaml +++ b/templates/backend-deployment.yaml @@ -33,6 +33,8 @@ spec: env: - name: TOWER_LISTEN_ADDR value: ":8080" + - name: TOWER_VERSION + value: {{ .Values.backend.image.tag | quote }} - name: TOWER_GITEA_URL value: {{ .Values.config.giteaURL | quote }} - name: TOWER_GITEA_ORG