Skip to content

Commit

Permalink
chore: Add affinity to the ndm-operator deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
nearora-msft committed Sep 12, 2023
1 parent 8187952 commit 5e93afe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/helm/charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,8 @@ spec:
{{- if .Values.ndmOperator.tolerations }}
tolerations:
{{ toYaml .Values.ndmOperator.tolerations | indent 8 }}
{{- if .Values.ndmOperator.affinity }}
affinity:
{{ toYaml .Values.ndmOperator.affinity | indent 8 }}
{{- end }}
{{- end }}
2 changes: 2 additions & 0 deletions deploy/helm/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ ndmOperator:
periodSeconds: 10
replicas: 1
upgradeStrategy: Recreate
affinity: {}


ndmExporter:
enabled: false
Expand Down

0 comments on commit 5e93afe

Please sign in to comment.