|
@ -66,17 +66,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 "postfix.name" . }} |
|
|
operator: In |
|
|
- key: app.kubernetes.io/instance |
|
|
values: |
|
|
operator: In |
|
|
- {{ include "postfix.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 }} |
|
|