Skip to content

Commit

Permalink
Fix: Inproper formatting of YAML when certain parameters were set
Browse files Browse the repository at this point in the history
  • Loading branch information
bokysan committed May 29, 2021
1 parent fb53f25 commit 999c63c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helm/mail/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ spec:
{{ with .Values.imagePullSecrets }}imagePullSecrets: {{- toYaml . | nindent 8 }}{{- end }}
{{ if .Values.schedulerName }}schedulerName: {{ .Values.schedulerName | quote }}{{ end }}
{{ if .Values.priorityClassName }}priorityClassName: {{ .Values.priorityClassName | quote }}{{ end }}
{{- with .Values.pod.securityContext }}securityContext: {{- toYaml . | nindent 8 }}{{- end }}
{{- with .Values.nodeSelector }}nodeSelector: {{- toYaml . | nindent 8 }}{{- end }}
{{- with .Values.affinity }}affinity: {{- toYaml . | nindent 8 }} {{- end }}
{{- with .Values.tolerations }}tolerations: {{- toYaml . | nindent 8 }} {{- end }}
{{ with .Values.pod.securityContext }}securityContext: {{- toYaml . | nindent 8 }}{{- end }}
{{ with .Values.nodeSelector }}nodeSelector: {{- toYaml . | nindent 8 }}{{- end }}
{{ with .Values.affinity }}affinity: {{- toYaml . | nindent 8 }} {{- end }}
{{ with .Values.tolerations }}tolerations: {{- toYaml . | nindent 8 }} {{- end }}

{{- if .Values.extraInitContainers }}
#
Expand Down

0 comments on commit 999c63c

Please sign in to comment.