3
0
mirror of https://github.com/mastodon/chart synced 2024-10-22 19:02:44 +00:00

OPS-758: Use .Values.image.tag for app.kubernetes.io/version

This commit is contained in:
T. Hinrichsmeyer 2024-07-15 15:08:10 +02:00
parent ba7a1de157
commit 770d19dfd8
No known key found for this signature in database
GPG Key ID: 984B6DEB69D24B71
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time # 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. # you make changes to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # 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 # 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 # incremented each time you make changes to the application. Versions are not expected to

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 }}