3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 04:53:21 +00:00

Use .Values.image.tag for app.kubernetes.io/version

This commit is contained in:
T. Hinrichsmeyer 2024-07-15 14:56:53 +02:00
parent c437b0ad15
commit 973143bc94
No known key found for this signature in database
GPG Key ID: 984B6DEB69D24B71

View File

@ -48,7 +48,7 @@ helm.sh/chart: {{ include "mastodon.chart" . }}
{{ include "mastodon.selectorLabels" . }} {{ include "mastodon.selectorLabels" . }}
{{ include "mastodon.globalLabels" . }} {{ include "mastodon.globalLabels" . }}
{{- if .Chart.AppVersion }} {{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} app.kubernetes.io/version: {{ .Values.image.tag | quote }}
{{- end }} {{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }} app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }} {{- end }}