Skip to content

Commit acc9c57

Browse files
committed
chore: Add affinity to the ndm-operator deployment
1 parent 8187952 commit acc9c57

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

deploy/helm/charts/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,8 @@ spec:
8383
{{- if .Values.ndmOperator.tolerations }}
8484
tolerations:
8585
{{ toYaml .Values.ndmOperator.tolerations | indent 8 }}
86+
{{- if .Values.ndmOperator.affinity }}
87+
affinity:
88+
{{ toYaml .Values.ndmOperator.affinity | indent 8 }}
8689
{{- end }}
8790
{{- end }}

deploy/helm/charts/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ ndmOperator:
8383
periodSeconds: 10
8484
replicas: 1
8585
upgradeStrategy: Recreate
86+
affinity: {}
8687

8788
ndmExporter:
8889
enabled: false

0 commit comments

Comments
 (0)