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:
parent
e112efbb8f
commit
45f0e08909
4 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -86,7 +86,7 @@ spec:
|
|||
hostIPC: false
|
||||
securityContext:
|
||||
runAsNonRoot: true
|
||||
runAsUser: 1000
|
||||
runAsUser: {{ .Values.operator.securityContext.runAsUser }}
|
||||
containers:
|
||||
- name: operator
|
||||
imagePullPolicy: {{ .Values.operator.imagePullPolicy }}
|
||||
|
|
|
@ -27,6 +27,9 @@ operator:
|
|||
cpu: 250m
|
||||
memory: 256Mi
|
||||
|
||||
securityContext:
|
||||
runAsUser: 1000
|
||||
|
||||
replicaCount: 2
|
||||
|
||||
updateStrategy:
|
||||
|
|
Loading…
Reference in a new issue