1
0
mirror of https://gitea.com/gitea/helm-chart synced 2025-10-06 00:43:12 +02:00

trim to 63 chars

This commit is contained in:
pat-s
2023-05-30 18:46:49 +02:00
parent ffbbfcec63
commit d9188bfe2a

View File

@@ -84,8 +84,8 @@ helm.sh/chart: {{ include "gitea.chart" . }}
app: {{ include "gitea.name" . }}
{{ include "gitea.selectorLabels" . }}
{{- if .Values.image.digest }}
app.kubernetes.io/version: {{ .Values.image.digest | default .Chart.AppVersion | quote }}
version: {{ .Values.image.digest | default .Chart.AppVersion | quote }}
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | trunc 63 | quote }}
version: {{ .Values.image.tag | default .Chart.AppVersion | trunc 63 | quote }}
{{- else }}
app.kubernetes.io/version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}
version: {{ .Values.image.tag | default .Chart.AppVersion | quote }}