Skip to content
This repository was archived by the owner on Jul 16, 2021. It is now read-only.

Commit f287a3d

Browse files
author
Sascha Girrulat
committed
Use nindent instead of indent to improve the readability
Signed-off-by: Sascha Girrulat <[email protected]>
1 parent 4e97064 commit f287a3d

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

chart/monocular/templates/_helpers.tpl

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,25 +77,19 @@ spec:
7777
name: {{ template "mongodb.fullname" $global }}
7878
{{- end }}
7979
{{- with $global.Values.sync.extraVolumeMounts }}
80-
volumeMounts:
81-
{{ toYaml . | indent 6 }}
80+
volumeMounts: {{ toYaml . | nindent 6 }}
8281
{{- end }}
83-
resources:
84-
{{ toYaml $global.Values.sync.resources | indent 6 }}
82+
resources: {{ toYaml $global.Values.sync.resources | nindent 6 }}
8583
{{- with $global.Values.sync.nodeSelector }}
86-
nodeSelector:
87-
{{ toYaml . | indent 4 }}
84+
nodeSelector: {{ toYaml . | nindent 4 }}
8885
{{- end }}
8986
{{- with $global.Values.sync.affinity }}
90-
affinity:
91-
{{ toYaml . | indent 4 }}
87+
affinity: {{ toYaml . | nindent 4 }}
9288
{{- end }}
9389
{{- with $global.Values.sync.tolerations }}
94-
tolerations:
95-
{{ toYaml . | indent 4 }}
90+
tolerations: {{ toYaml . | nindent 4 }}
9691
{{- end }}
9792
{{- with $global.Values.sync.extraVolumes }}
98-
volumes:
99-
{{ toYaml . | indent 4 }}
93+
volumes: {{ toYaml . | nindent 4 }}
10094
{{- end }}
10195
{{- end -}}

0 commit comments

Comments
 (0)