mirror of
https://github.com/mastodon/chart
synced 2025-05-17 20:43:21 +00:00
Don't remove, but rather shorten
This commit is contained in:
parent
5991d27ffa
commit
99d251afa7
|
@ -48,7 +48,7 @@ helm.sh/chart: {{ include "mastodon.chart" . }}
|
|||
{{ include "mastodon.selectorLabels" . }}
|
||||
{{ include "mastodon.globalLabels" . }}
|
||||
{{- if .Values.image.tag }}
|
||||
app.kubernetes.io/version: {{ regexReplaceAll "@[a-zA-Z0-9:]+" .Values.image.tag "" | quote }}
|
||||
app.kubernetes.io/version: {{ regexReplaceAll "@(\\w+:\\w{0,7})\\w*" .Values.image.tag "@${1}" | quote }}
|
||||
{{- else if .Chart.AppVersion }}
|
||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user