Skip to content

Commit

Permalink
Merge pull request #141 from leelavg/pv-rba
Browse files Browse the repository at this point in the history
add missing rbac for persistentvolume during deletion
  • Loading branch information
Madhu-1 authored Sep 18, 2024
2 parents 28605d8 + 3599a32 commit f3030b0
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/csi-rbac/cephfs_ctrlplugin_cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rules:
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete", "patch"]
verbs: ["get", "list", "watch", "create", "delete", "patch", "update"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "patch", "update"]
Expand Down
2 changes: 1 addition & 1 deletion config/csi-rbac/rbd_ctrlplugin_cluster_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rules:
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete", "patch"]
verbs: ["get", "list", "watch", "create", "delete", "patch", "update"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"]
Expand Down
2 changes: 2 additions & 0 deletions deploy/all-in-one/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14146,6 +14146,7 @@ rules:
- create
- delete
- patch
- update
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -14829,6 +14830,7 @@ rules:
- create
- delete
- patch
- update
- apiGroups:
- ""
resources:
Expand Down
2 changes: 2 additions & 0 deletions deploy/multifile/csi-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ rules:
- create
- delete
- patch
- update
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -405,6 +406,7 @@ rules:
- create
- delete
- patch
- update
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit f3030b0

Please sign in to comment.