fix:affinity.podAntiAffinity.enabled value not taking effect (#1280)

Co-authored-by: loverustfs <hello@rustfs.com>
This commit is contained in:
bbb4aaa
2025-12-27 20:46:25 +08:00
committed by GitHub
parent f2d79b485e
commit fe9609fd17

View File

@@ -41,8 +41,8 @@ spec:
{{- toYaml .Values.affinity.nodeAffinity | nindent 10 }} {{- toYaml .Values.affinity.nodeAffinity | nindent 10 }}
{{- else }} {{- else }}
{} {}
{{- if .Values.affinity.podAntiAffinity.enabled }}
{{- end }} {{- end }}
{{- if .Values.affinity.podAntiAffinity.enabled }}
podAntiAffinity: podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector: - labelSelector: