Support topologySpreadConstraints in helm chart (#6132)

This commit is contained in:
Dominik Grygiel
2024-10-15 23:18:21 +02:00
committed by GitHub
parent e12b9ab746
commit 9dc47f6b97
4 changed files with 27 additions and 0 deletions

View File

@@ -50,6 +50,10 @@ spec:
affinity:
{{ tpl .Values.master.affinity . | nindent 8 | trim }}
{{- end }}
{{- with .Values.master.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.master.tolerations }}
tolerations:
{{ tpl .Values.master.tolerations . | nindent 8 | trim }}