File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 3232{{ toYaml .Values.deployment.annotations | indent 8 }}
3333 {{ end }}
3434 spec :
35+ {{- if .Values.deployment.affinity }}
36+ affinity : {{- toYaml .Values.deployment.affinity | nindent 8 }}
37+ {{ end }}
3538 nodeSelector : {{- toYaml .Values.deployment.nodeSelector | nindent 8 }}
3639 runtimeClassName : {{ .Values.deployment.runtimeClassName }}
3740 priorityClassName : {{ .Values.deployment.priorityClassName }}
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ deployment:
2525 # # How many versions of the deployment to run
2626 replicas : 1
2727
28+ # # Optionally specify affinity for the deployment
29+ affinity : {}
30+
2831 # # Optionally add additional annotations to the deployment
2932 annotations : {}
3033
You can’t perform that action at this time.
0 commit comments