diff --git a/charts/restate-operator-helm/templates/deployment.yaml b/charts/restate-operator-helm/templates/deployment.yaml index 70060f6..8855f2b 100644 --- a/charts/restate-operator-helm/templates/deployment.yaml +++ b/charts/restate-operator-helm/templates/deployment.yaml @@ -24,6 +24,10 @@ spec: affinity: {{- toYaml .Values.affinity | nindent 8 }} {{- end }} + {{- if .Values.nodeSelector }} + nodeSelector: + {{- toYaml .Values.nodeSelector | nindent 8 }} + {{- end }} serviceAccountName: {{ include "controller.fullname" . }} {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/charts/restate-operator-helm/values.yaml b/charts/restate-operator-helm/values.yaml index 063826f..85a782a 100644 --- a/charts/restate-operator-helm/values.yaml +++ b/charts/restate-operator-helm/values.yaml @@ -37,6 +37,8 @@ logging: env: [] affinity: {} +nodeSelector: {} +tolerations: [] service: type: ClusterIP