diff --git a/helm/mail/templates/statefulset.yaml b/helm/mail/templates/statefulset.yaml index 0d7361d..460ddf6 100644 --- a/helm/mail/templates/statefulset.yaml +++ b/helm/mail/templates/statefulset.yaml @@ -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 }} #