summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2022-03-08 15:27:26 +0000
committerGerrit Code Review <gerrit@onap.org>2022-03-08 15:27:26 +0000
commit7b9f363158f544a3dc9097d8c3753e6a3b29b764 (patch)
tree77cf55b3015c7b54b57ed4f43b6a6284be603d90 /kubernetes/common
parentde97263a2ea4b7a134dc3d43784a6178909feabe (diff)
parentf2db5c1b80bc8bc4305f780e94b6f23c87516809 (diff)
Merge "[DMAAP] Add pod security context to MR and others"
Diffstat (limited to 'kubernetes/common')
-rw-r--r--kubernetes/common/certInitializer/templates/_certInitializer.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/common/certInitializer/templates/_certInitializer.yaml b/kubernetes/common/certInitializer/templates/_certInitializer.yaml
index b1e85c00cc..1312d98009 100644
--- a/kubernetes/common/certInitializer/templates/_certInitializer.yaml
+++ b/kubernetes/common/certInitializer/templates/_certInitializer.yaml
@@ -47,6 +47,8 @@
- name: {{ include "common.name" $dot }}-aaf-config
image: {{ include "repositoryGenerator.repository" $subchartDot }}/{{ $subchartDot.Values.global.aafAgentImage }}
imagePullPolicy: {{ $subchartDot.Values.global.pullPolicy | default $subchartDot.Values.pullPolicy }}
+ securityContext:
+ runAsUser: 0
volumeMounts:
- mountPath: {{ $initRoot.mountPath }}
name: {{ include "common.certInitializer._aafConfigVolumeName" $dot }}