1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00

[Feature] Allow configuration for runAsUser value for Operator (#948)

This commit is contained in:
Nikita Vanyasin 2022-04-05 15:18:12 +03:00 committed by GitHub
parent e112efbb8f
commit 45f0e08909
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 1 deletions

View file

@ -1,6 +1,7 @@
# Change Log
## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A)
- (Feature) Allow configuration for securityContext.runAsUser value
## [1.2.9](https://github.com/arangodb/kube-arangodb/tree/1.2.9) (2022-03-30)
- (Feature) Improve Kubernetes clientsets management

View file

@ -139,6 +139,12 @@ tolerations:
```
Default (empty): `[]`
### `operator.securityContext.runAsUser`
Controls which user ID the containers are run with.
Default: `1000`
### `operator.replicaCount`
Replication count for Operator deployment.

View file

@ -86,7 +86,7 @@ spec:
hostIPC: false
securityContext:
runAsNonRoot: true
runAsUser: 1000
runAsUser: {{ .Values.operator.securityContext.runAsUser }}
containers:
- name: operator
imagePullPolicy: {{ .Values.operator.imagePullPolicy }}

View file

@ -27,6 +27,9 @@ operator:
cpu: 250m
memory: 256Mi
securityContext:
runAsUser: 1000
replicaCount: 2
updateStrategy: