summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mongo/values.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-09-09 21:23:32 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2020-09-09 21:25:14 +0200
commit86a28cdb200f482bc9a2e1f281ec1c51938f6c2c (patch)
treeeb5a8192627abdd9a2851a845079286167e501bf /kubernetes/common/mongo/values.yaml
parent7e1a8495095461843a13b39bf02571cf241defb8 (diff)
[COMMON] Make mongo run as non-root
Use our helper template and k8s features to make mongodb run as a non-root user as per Guiling requirements. Issue-ID: DCAEGEN2-2424 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I44bc079a2cc49dc1b0f1da88e220290098e909d5
Diffstat (limited to 'kubernetes/common/mongo/values.yaml')
-rw-r--r--kubernetes/common/mongo/values.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/kubernetes/common/mongo/values.yaml b/kubernetes/common/mongo/values.yaml
index d272f706ea..d8988c3ae7 100644
--- a/kubernetes/common/mongo/values.yaml
+++ b/kubernetes/common/mongo/values.yaml
@@ -83,6 +83,10 @@ service:
rpcbindPort: 111
rpcbindUdpPort: 111
+securityContext:
+ user_id: 999
+ group_id: 999
+
ingress:
enabled: false