From bc355c695e35efab4442daaa50fac806e2f17c35 Mon Sep 17 00:00:00 2001 From: parth-gr Date: Tue, 14 Dec 2021 19:37:27 +0530 Subject: [PATCH] build: update the securityContext of direct mount container update securityContext to runAsUser: 0 so container can run as a root user Signed-off-by: parth-gr --- deploy/examples/direct-mount.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/deploy/examples/direct-mount.yaml b/deploy/examples/direct-mount.yaml index 7a5b4ccd9..34fe5a542 100644 --- a/deploy/examples/direct-mount.yaml +++ b/deploy/examples/direct-mount.yaml @@ -36,6 +36,7 @@ spec: key: ceph-secret securityContext: privileged: true + runAsUser: 0 volumeMounts: - mountPath: /dev name: dev