Skip to content

Commit 797418d

Browse files
authored
[Feature] Add nodeSelector to Chart (#659)
1 parent a49d25b commit 797418d

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- Allow to mount EmptyDir
55
- Allow to specify initContainers in pods
66
- Add serviceAccount, resources and securityContext fields to ID Group
7+
- Add NodeSelector to Deployment Helm Chart
78

89
## [1.1.0](https://github.com/arangodb/kube-arangodb/tree/master) (2020-10-14)
910
- Change NumberOfCores and MemoryOverride flags to be set to true by default

chart/kube-arangodb/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ Requested memory for operator pods.
113113

114114
Default: `256Mi`
115115

116+
### `operator.nodeSelector`
117+
118+
NodeSelector for Deployment pods.
119+
120+
Default: `{}`
121+
116122
### `operator.replicaCount`
117123

118124
Replication count for Operator deployment.

chart/kube-arangodb/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ spec:
4646
{{ toYaml .Values.operator.annotations | indent 16 }}
4747
{{- end }}
4848
spec:
49+
{{- if .Values.operator.nodeSelector }}
50+
nodeSelector:
51+
{{ toYaml .Values.operator.nodeSelector | indent 16 }}
52+
{{- end }}
4953
serviceAccountName: {{ template "kube-arangodb.operatorName" . }}
5054
affinity:
5155
nodeAffinity:

chart/kube-arangodb/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ operator:
2929

3030
allowChaos: false
3131

32+
nodeSelector: {}
33+
3234
features:
3335
deployment: true
3436
deploymentReplications: true

0 commit comments

Comments
 (0)