Browse Source

Fix podAntiAffinity for mailproxy

master
Fábio Kaiser Rauber 2 years ago
parent
commit
cdd8e83e87
  1. 4
      charts/mailproxy/v0.1.0/templates/nginx-deployment.yaml

4
charts/mailproxy/v0.1.0/templates/nginx-deployment.yaml

@ -67,7 +67,9 @@ spec:
affinity: affinity:
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
- labelSelector: - weight: 100
podAffinityTerm:
labelSelector:
matchExpressions: matchExpressions:
- key: app.kubernetes.io/name - key: app.kubernetes.io/name
operator: In operator: In

Loading…
Cancel
Save