Skip to content

Commit

Permalink
Merge pull request #9439 from y1r/add-cap-mknod-to-psp
Browse files Browse the repository at this point in the history
osd: add CAP_MKNOD to PSP
  • Loading branch information
travisn committed Dec 16, 2021
2 parents b7a145e + bae6351 commit 517aff4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/rbac/rbac.yaml
Expand Up @@ -702,6 +702,7 @@ spec:
allowedCapabilities:
# required by CSI
- SYS_ADMIN
- MKNOD
fsGroup:
rule: RunAsAny
# runAsUser, supplementalGroups - Rook needs to run some pods as root
Expand Down
1 change: 1 addition & 0 deletions deploy/charts/rook-ceph/templates/psp.yaml
Expand Up @@ -21,6 +21,7 @@ spec:
allowedCapabilities:
# required by CSI
- SYS_ADMIN
- MKNOD
fsGroup:
rule: RunAsAny
# runAsUser, supplementalGroups - Rook needs to run some pods as root
Expand Down
1 change: 1 addition & 0 deletions deploy/examples/common.yaml
Expand Up @@ -718,6 +718,7 @@ spec:
allowedCapabilities:
# required by CSI
- SYS_ADMIN
- MKNOD
fsGroup:
rule: RunAsAny
# runAsUser, supplementalGroups - Rook needs to run some pods as root
Expand Down

0 comments on commit 517aff4

Please sign in to comment.