mirror of
https://github.com/mastodon/chart
synced 2025-03-14 21:11:50 +00:00
Fix app version tagging (#175)
Co-authored-by: T. Hinrichsmeyer <t.hinrichsmeyer@ndr.de>
This commit is contained in:
parent
ad5d09a5d6
commit
ba4f2bfcf7
|
@ -1,3 +1,7 @@
|
||||||
|
# 6.0.2
|
||||||
|
|
||||||
|
- Helm version tagging now utilizes `.Values.image.tag` when set.
|
||||||
|
|
||||||
# 6.0.1
|
# 6.0.1
|
||||||
|
|
||||||
- Added additional values to separate out `db:prepare` and `db:migrate` jobs and whether they should run:
|
- Added additional values to separate out `db:prepare` and `db:migrate` jobs and whether they should run:
|
||||||
|
|
|
@ -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: 6.0.1
|
version: 6.0.2
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
@ -47,7 +47,9 @@ Common labels
|
||||||
helm.sh/chart: {{ include "mastodon.chart" . }}
|
helm.sh/chart: {{ include "mastodon.chart" . }}
|
||||||
{{ include "mastodon.selectorLabels" . }}
|
{{ include "mastodon.selectorLabels" . }}
|
||||||
{{ include "mastodon.globalLabels" . }}
|
{{ include "mastodon.globalLabels" . }}
|
||||||
{{- if .Chart.AppVersion }}
|
{{- if .Values.image.tag }}
|
||||||
|
app.kubernetes.io/version: {{ .Values.image.tag | quote }}
|
||||||
|
{{- else if .Chart.AppVersion }}
|
||||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user