From f2db5c1b80bc8bc4305f780e94b6f23c87516809 Mon Sep 17 00:00:00 2001 From: rope252 Date: Mon, 10 Jan 2022 14:15:16 +0000 Subject: [DMAAP] Add pod security context to MR and others Add security context to pods within DMAAP Change-Id: I86f7bd79e77dec33879f4ee3b599799705d40a24 Issue-ID: OOM-2913 Signed-off-by: rope252 --- kubernetes/common/certInitializer/templates/_certInitializer.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kubernetes/common/certInitializer') 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 }} -- cgit 1.2.3-korg