From fe9609fd17fa0c21b6b6f165bd3d7b220683a71f Mon Sep 17 00:00:00 2001 From: bbb4aaa <105700600+bbb4aaa@users.noreply.github.com> Date: Sat, 27 Dec 2025 20:46:25 +0800 Subject: [PATCH] fix:affinity.podAntiAffinity.enabled value not taking effect (#1280) Co-authored-by: loverustfs --- helm/rustfs/templates/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/rustfs/templates/statefulset.yaml b/helm/rustfs/templates/statefulset.yaml index 84ecdfa0..1301322e 100644 --- a/helm/rustfs/templates/statefulset.yaml +++ b/helm/rustfs/templates/statefulset.yaml @@ -41,8 +41,8 @@ spec: {{- toYaml .Values.affinity.nodeAffinity | nindent 10 }} {{- else }} {} - {{- if .Values.affinity.podAntiAffinity.enabled }} {{- end }} + {{- if .Values.affinity.podAntiAffinity.enabled }} podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: