Skip to content

Commit caeac54

Browse files
committed
OPS-758: Use .Values.image.tag for app.kubernetes.io/version
1 parent c437b0a commit caeac54

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time
1616
# you make changes to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 5.2.0
18+
version: 5.2.0-ndr1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ helm.sh/chart: {{ include "mastodon.chart" . }}
4848
{{ include "mastodon.selectorLabels" . }}
4949
{{ include "mastodon.globalLabels" . }}
5050
{{- if .Chart.AppVersion }}
51-
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
51+
app.kubernetes.io/version: {{ .Values.image.tag | quote }}
5252
{{- end }}
5353
app.kubernetes.io/managed-by: {{ .Release.Service }}
5454
{{- end }}

0 commit comments

Comments
 (0)