Skip to content

Commit

Permalink
core: fix openshift security context
Browse files Browse the repository at this point in the history
The MKNOD capability was missing and due to recent addition some pod now
only require this cap as well as privileged.
The cap must be explicitly exposed so it can be requested by a pod.

Closes: #9234
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit b38f430)
  • Loading branch information
leseb committed Nov 24, 2021
1 parent ec6f55e commit 6a28173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/examples/kubernetes/ceph/operator-openshift.yaml
Expand Up @@ -14,9 +14,9 @@ allowPrivilegedContainer: true
allowHostNetwork: true
allowHostDirVolumePlugin: true
priority:
allowedCapabilities: []
allowHostPorts: true
allowHostPID: true # remove this once we drop support for Nautilus
allowedCapabilities: ["MKNOD"]
allowHostIPC: true
readOnlyRootFilesystem: false
requiredDropCapabilities: []
Expand Down

0 comments on commit 6a28173

Please sign in to comment.