mirror of
https://github.com/mastodon/chart
synced 2025-05-18 04:53:21 +00:00
OPS-758: Use .Values.image.tag for app.kubernetes.io/version
This commit is contained in:
parent
ba7a1de157
commit
770d19dfd8
|
@ -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
|
||||||
|
|
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user