From 4f3c423c238e934fe6cd00dc29820fc6ffcd7867 Mon Sep 17 00:00:00 2001 From: Yoan Blanc Date: Wed, 29 Apr 2020 10:24:15 +0200 Subject: [PATCH] fixup! helpers: escape name Signed-off-by: Yoan Blanc --- pkg/chartutil/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index aa380588e..1481c5ac7 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -269,7 +269,7 @@ spec: securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} containers: - - name: {{ .Chart.Name }} + - name: {{ .Chart.Name | toJson }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"