Skip to content

Commit

Permalink
fix helm and add support for affinity
Browse files Browse the repository at this point in the history
  • Loading branch information
I065450 committed Aug 26, 2024
1 parent a00f10a commit 045b09e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sapbtp-operator-charts/templates/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,7 @@ spec:
{{- end }}
{{- if .Values.manager.affinity }}
affinity: {{ toYaml .Values.manager.affinity | nindent 8 }}
{{- end }}
{{- end }}
{ { - if .Values.manager.topologySpreadConstraints } }
topologySpreadConstraints: { { toYaml .Values.manager.topologySpreadConstraints | nindent 8 } }
{ { - end } }

0 comments on commit 045b09e

Please sign in to comment.