From 770d19dfd8160b588f53ca538c466f95c1241dd4 Mon Sep 17 00:00:00 2001 From: "T. Hinrichsmeyer" Date: Mon, 15 Jul 2024 15:08:10 +0200 Subject: [PATCH] OPS-758: Use .Values.image.tag for app.kubernetes.io/version --- Chart.yaml | 2 +- templates/_helpers.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index cf68afc..5d413f7 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time # you make changes to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 5.3.3 +version: 5.3.4 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/templates/_helpers.tpl b/templates/_helpers.tpl index ff7dcfc..238624b 100644 --- a/templates/_helpers.tpl +++ b/templates/_helpers.tpl @@ -48,7 +48,7 @@ helm.sh/chart: {{ include "mastodon.chart" . }} {{ include "mastodon.selectorLabels" . }} {{ include "mastodon.globalLabels" . }} {{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +app.kubernetes.io/version: {{ .Values.image.tag | quote }} {{- end }} app.kubernetes.io/managed-by: {{ .Release.Service }} {{- end }}