From 7ef1a4e5ee60ab379ed7033a69fcd1fef7136871 Mon Sep 17 00:00:00 2001 From: Sascha Girrulat Date: Wed, 1 Jul 2020 17:01:02 +0200 Subject: [PATCH] Use nindent instead of indent to improve the readability --- chart/monocular/templates/_helpers.tpl | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/chart/monocular/templates/_helpers.tpl b/chart/monocular/templates/_helpers.tpl index e40c63fc..1e12365d 100644 --- a/chart/monocular/templates/_helpers.tpl +++ b/chart/monocular/templates/_helpers.tpl @@ -77,25 +77,19 @@ spec: name: {{ template "mongodb.fullname" $global }} {{- end }} {{- with $global.Values.sync.extraVolumeMounts }} - volumeMounts: -{{ toYaml . | indent 6 }} + volumeMounts: {{ toYaml . | nindent 6 }} {{- end }} - resources: -{{ toYaml $global.Values.sync.resources | indent 6 }} + resources: {{ toYaml $global.Values.sync.resources | nindent 6 }} {{- with $global.Values.sync.nodeSelector }} - nodeSelector: -{{ toYaml . | indent 4 }} + nodeSelector: {{ toYaml . | nindent 4 }} {{- end }} {{- with $global.Values.sync.affinity }} - affinity: -{{ toYaml . | indent 4 }} + affinity: {{ toYaml . | nindent 4 }} {{- end }} {{- with $global.Values.sync.tolerations }} - tolerations: -{{ toYaml . | indent 4 }} + tolerations: {{ toYaml . | nindent 4 }} {{- end }} {{- with $global.Values.sync.extraVolumes }} - volumes: -{{ toYaml . | indent 4 }} + volumes: {{ toYaml . | nindent 4 }} {{- end }} {{- end -}}