Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the ability to set the operator nodeSelector #248

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/community-operator/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/community-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down