diff --git a/charts/community-operator/templates/operator.yaml b/charts/community-operator/templates/operator.yaml index 15af4014..dd2242d3 100644 --- a/charts/community-operator/templates/operator.yaml +++ b/charts/community-operator/templates/operator.yaml @@ -76,6 +76,10 @@ spec: securityContext: {{- toYaml .Values.operator.securityContext | nindent 12 }} {{- end }} + {{- if .Values.operator.nodeSelector }} + nodeSelector: + {{- toYaml .Values.operator.nodeSelector | nindent 8 }} + {{- end }} {{- if .Values.operator.podSecurityContext }} securityContext: {{- toYaml .Values.operator.podSecurityContext | nindent 8 }} diff --git a/charts/community-operator/values.yaml b/charts/community-operator/values.yaml index 66775abc..9fcf4613 100644 --- a/charts/community-operator/values.yaml +++ b/charts/community-operator/values.yaml @@ -20,6 +20,10 @@ operator: # Uncomment this line to watch all namespaces # watchNamespace: "*" + nodeSelector: + kubernetes.io/os: linux + kubernetes.io/arch: amd64 + # Resources allocated to Operator Pod resources: limits: