diff --git a/charts/operator/templates/deployment.yaml b/charts/operator/templates/deployment.yaml index 4b4d0325..4a69222e 100644 --- a/charts/operator/templates/deployment.yaml +++ b/charts/operator/templates/deployment.yaml @@ -94,14 +94,15 @@ spec: {{- end }} serviceAccountName: {{ include "manager.serviceAccount.name" . }} {{- if .Values.nodeSelector }} - nodeSelector: {{- .Values.nodeSelector | toYaml | nindent 8 }} + nodeSelector: + {{- toYaml .Values.nodeSelector | nindent 8 }} {{- end }} {{- if .Values.affinity }} affinity: - {{- toYaml .Values.affinity | nindent 8 }} + {{- toYaml .Values.affinity | nindent 8 }} {{- end }} {{- if .Values.tolerations }} tolerations: - {{- toYaml .Values.tolerations | nindent 8 }} + {{- toYaml .Values.tolerations | nindent 8 }} {{- end }} terminationGracePeriodSeconds: 10