From 6766017d388cbc21636f6b1deb9ab931a4617259 Mon Sep 17 00:00:00 2001 From: Thulio Ferraz Assis Date: Thu, 3 Sep 2020 13:44:57 -0500 Subject: [PATCH] fix: with .Values.podAnnotations indent template Signed-off-by: Thulio Ferraz Assis --- pkg/chartutil/create.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index 8d8f48176..2e3b12782 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -254,10 +254,10 @@ spec: {{- include ".selectorLabels" . | nindent 6 }} template: metadata: - {{- with .Values.podAnnotations }} + {{- with .Values.podAnnotations }} annotations: {{- toYaml . | nindent 8 }} - {{- end }} + {{- end }} labels: {{- include ".selectorLabels" . | nindent 8 }} spec: