Making label names robust

This commit is contained in:
Laszlo Fogas
2021-09-08 11:31:17 +02:00
parent 4e44c8104c
commit 8c82240186
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ Selector labels
*/}}
{{- define "helm-chart.selectorLabels" -}}
app.kubernetes.io/name: {{ include "helm-chart.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/instance: {{ template "robustName" .Release.Name }}
{{- end }}
{{/*
+1 -1
View File
@@ -48,7 +48,7 @@ Selector labels
*/}}
{{- define "helm-chart.selectorLabels" -}}
app.kubernetes.io/name: {{ include "helm-chart.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/instance: {{ template "robustName" .Release.Name }}
{{- end }}
{{/*