We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 89b55c5 + 75f2a43 commit 2737a79Copy full SHA for 2737a79
2 files changed
charts/docker-mailserver/templates/deployment.yaml
@@ -32,6 +32,9 @@ spec:
32
{{ toYaml .Values.deployment.annotations | indent 8 }}
33
{{ end }}
34
spec:
35
+ {{- if .Values.deployment.affinity }}
36
+ affinity: {{- toYaml .Values.deployment.affinity | nindent 8 }}
37
+ {{ end }}
38
nodeSelector: {{- toYaml .Values.deployment.nodeSelector | nindent 8 }}
39
runtimeClassName: {{ .Values.deployment.runtimeClassName }}
40
priorityClassName: {{ .Values.deployment.priorityClassName }}
charts/docker-mailserver/values.yaml
@@ -25,6 +25,9 @@ deployment:
25
## How many versions of the deployment to run
26
replicas: 1
27
28
+ ## Optionally specify affinity for the deployment
29
+ affinity: {}
30
+
31
## Optionally add additional annotations to the deployment
annotations: {}
0 commit comments