Browse Source

Fix pod antiAffinity for mailauth and mailproxy

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

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

@ -72,6 +72,10 @@ spec:
operator: In operator: In
values: values:
- {{ .Release.Name }} - {{ .Release.Name }}
- key: app.kubernetes.io/component
operator: In
values:
- mailauth
topologyKey: "kubernetes.io/hostname" topologyKey: "kubernetes.io/hostname"
{{- with .Values.tolerations }} {{- with .Values.tolerations }}
tolerations: tolerations:

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

@ -79,6 +79,10 @@ spec:
operator: In operator: In
values: values:
- {{ .Release.Name }} - {{ .Release.Name }}
- key: app.kubernetes.io/component
operator: In
values:
- nginx
topologyKey: "kubernetes.io/hostname" topologyKey: "kubernetes.io/hostname"
{{- with .Values.tolerations }} {{- with .Values.tolerations }}
tolerations: tolerations:

Loading…
Cancel
Save