security: validate operator-openshift.yaml file

add `allowHostPID: false` field in SCC of
operator-openshift.yaml file.

Closes: https://github.com/rook/rook/issues/9048
Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
subhamkrai committed 2021-10-28 20:57:56 +05:30
1 parent 3621fd3829
commit cb0e2405fd
1 file changed
+1
@@ -12,6 +12,7 @@ metadata:
name: rook-ceph
allowPrivilegedContainer: true
allowHostDirVolumePlugin: true
allowHostPID: false
# set to true if running rook with host networking enabled
allowHostNetwork: false
# set to true if running rook with the provider as host