File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 1717 labels :
1818{{ toYaml .Values.deployment.labels | indent 8 }}
1919 spec :
20+ {{- with .Values.deployment.affinity }}
21+ affinity :
22+ {{- toYaml . | nindent 8 }}
23+ {{- end }}
2024 {{- if and .Values.global .Values.global.imagePullSecrets }}
2125 imagePullSecrets :
2226 {{- range .Values.global.imagePullSecrets }}
Original file line number Diff line number Diff line change @@ -17,4 +17,15 @@ deployment:
1717 requests :
1818 cpu : 128m
1919 memory : 64Mi
20-
20+ affinity : {}
21+ # podAntiAffinity:
22+ # preferredDuringSchedulingIgnoredDuringExecution:
23+ # - podAffinityTerm:
24+ # labelSelector:
25+ # matchExpressions:
26+ # - key: control-plane
27+ # operator: In
28+ # values:
29+ # - controller-manager
30+ # topologyKey: kubernetes.io/hostname
31+ # weight: 100
You can’t perform that action at this time.
0 commit comments