From c38b23c61aee0abb724a778bbb618fc85781dd8e Mon Sep 17 00:00:00 2001 From: Makoto Shiga Date: Tue, 21 Aug 2018 19:33:23 +0900 Subject: [PATCH] Replace 'dots' with 'with'.Fit to other code --- pkg/chartutil/create.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/chartutil/create.go b/pkg/chartutil/create.go index ef70efed9..336c3905a 100644 --- a/pkg/chartutil/create.go +++ b/pkg/chartutil/create.go @@ -198,8 +198,10 @@ spec: httpGet: path: / port: http + {{- with .Values.resources }} resources: -{{ toYaml .Values.resources | indent 12 }} +{{ toYaml . | indent 12 }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{ toYaml . | indent 8 }}