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 <paarora@redhat.com>
This commit is contained in:
parth-gr
2021-12-14 19:37:27 +05:30
parent bd3e558c24
commit bc355c695e
+1
View File
@@ -36,6 +36,7 @@ spec:
key: ceph-secret
securityContext:
privileged: true
runAsUser: 0
volumeMounts:
- mountPath: /dev
name: dev