diff --git a/sapbtp-operator-charts/templates/deployment.yml b/sapbtp-operator-charts/templates/deployment.yml index f1e242aa..f35eaf89 100644 --- a/sapbtp-operator-charts/templates/deployment.yml +++ b/sapbtp-operator-charts/templates/deployment.yml @@ -144,6 +144,6 @@ spec: {{- if .Values.manager.affinity }} affinity: {{ toYaml .Values.manager.affinity | nindent 8 }} {{- end }} - { { - if .Values.manager.topologySpreadConstraints } } - topologySpreadConstraints: { { toYaml .Values.manager.topologySpreadConstraints | nindent 8 } } - { { - end } } \ No newline at end of file + {{- if .Values.manager.topologySpreadConstraints }} + topologySpreadConstraints: {{ toYaml .Values.manager.topologySpreadConstraints | nindent 8 }} + {{- end }} \ No newline at end of file