|
@ -67,17 +67,19 @@ spec: |
|
|
affinity: |
|
|
affinity: |
|
|
podAntiAffinity: |
|
|
podAntiAffinity: |
|
|
preferredDuringSchedulingIgnoredDuringExecution: |
|
|
preferredDuringSchedulingIgnoredDuringExecution: |
|
|
- labelSelector: |
|
|
- weight: 100 |
|
|
matchExpressions: |
|
|
podAffinityTerm: |
|
|
- key: app.kubernetes.io/name |
|
|
labelSelector: |
|
|
operator: In |
|
|
matchExpressions: |
|
|
values: |
|
|
- key: app.kubernetes.io/name |
|
|
- {{ include "mailproxy.name" . }} |
|
|
operator: In |
|
|
- key: app.kubernetes.io/instance |
|
|
values: |
|
|
operator: In |
|
|
- {{ include "mailproxy.name" . }} |
|
|
values: |
|
|
- key: app.kubernetes.io/instance |
|
|
- {{ .Release.Name }} |
|
|
operator: In |
|
|
topologyKey: "kubernetes.io/hostname" |
|
|
values: |
|
|
|
|
|
- {{ .Release.Name }} |
|
|
|
|
|
topologyKey: "kubernetes.io/hostname" |
|
|
{{- with .Values.tolerations }} |
|
|
{{- with .Values.tolerations }} |
|
|
tolerations: |
|
|
tolerations: |
|
|
{{- toYaml . | nindent 8 }} |
|
|
{{- toYaml . | nindent 8 }} |
|
|