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 nodeselector #104

Merged
merged 2 commits into from
Apr 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,13 @@ spec:
command:
- /manager
image: "{{ .Values.manager.image.repository }}:{{ .Values.manager.image.tag }}"
name: operator-controller-manager
resources:
{{- toYaml .Values.manager.resources | nindent 12 }}
securityContext:
allowPrivilegeEscalation: false
nodeSelector:
{{- toYaml .Values.nodeSelector | nindent 8 }}
securityContext:
runAsNonRoot: true
serviceAccountName: opensearch-operator-controller-manager
Expand Down
9 changes: 5 additions & 4 deletions charts/values.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
namespaceName: opensearch-operator-system
manager:
resources:
namespaceName: opensearch-operator-system
nodeSelector: {}
manager:
resources:
limits:
cpu: 2
memory: 1Gi
requests:
cpu: 2
memory: 1Gi
memory: 1Gi
image:
repository: public.ecr.aws/opsterio/opensearch-operator
tag: latest