diff --git a/deploy/helm/charts/templates/deployment.yaml b/deploy/helm/charts/templates/deployment.yaml index 213a861e6..0a546f6f2 100644 --- a/deploy/helm/charts/templates/deployment.yaml +++ b/deploy/helm/charts/templates/deployment.yaml @@ -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 }} diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index 25486060d..915875f05 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -83,6 +83,7 @@ ndmOperator: periodSeconds: 10 replicas: 1 upgradeStrategy: Recreate + affinity: {} ndmExporter: enabled: false