From cb0e2405fd2122b2dc4f153abe412664892fcc9d Mon Sep 17 00:00:00 2001 From: subhamkrai Date: Thu, 28 Oct 2021 20:27:52 +0530 Subject: [PATCH] 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 --- cluster/examples/kubernetes/ceph/operator-openshift.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster/examples/kubernetes/ceph/operator-openshift.yaml b/cluster/examples/kubernetes/ceph/operator-openshift.yaml index 4008559f0..c9d704d30 100644 --- a/cluster/examples/kubernetes/ceph/operator-openshift.yaml +++ b/cluster/examples/kubernetes/ceph/operator-openshift.yaml @@ -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