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

Commit

Permalink
Use nindent instead of indent to improve the readability
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Girrulat committed Jul 1, 2020
1 parent e76a3ba commit 7ef1a4e
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions chart/monocular/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}

0 comments on commit 7ef1a4e

Please sign in to comment.