feat: Add topologySpreadConstraints to workload-manager.yaml template

This commit is contained in:
Alexander Schaber 2024-08-09 00:54:39 +02:00
parent 3cf4514166
commit a1e073f557
No known key found for this signature in database
GPG Key ID: 48D2B001599D6A80
2 changed files with 7 additions and 0 deletions

View File

@ -97,6 +97,10 @@ spec:
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if and .Values.persistence.enabled .Values.persistence.existingClaim }}
- name: data

View File

@ -68,6 +68,9 @@ tolerations: []
# -- Affinity for pod assignment
affinity: {}
# -- Topology Spread Constraints for pod assignment
topologySpreadConstraints: []
# -- Service values to expose Open WebUI pods to cluster
service:
type: ClusterIP