Skip to content

Commit

Permalink
Merge pull request #182 from rewantsoni/permissions
Browse files Browse the repository at this point in the history
csiaddons: add rbac permission to delete the csiaddons obj
  • Loading branch information
Madhu-1 authored Nov 27, 2024
2 parents ceae5f3 + fcb8646 commit 8550f4e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/csi-rbac/cephfs_ctrlplugin_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rules:
verbs: ["get", "watch", "list", "delete", "update", "create"]
- apiGroups: ["csiaddons.openshift.io"]
resources: ["csiaddonsnodes"]
verbs: ["get", "create", "update"]
verbs: ["get", "create", "update", "delete"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get"]
Expand Down
2 changes: 1 addition & 1 deletion config/csi-rbac/rbd_ctrlplugin_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rules:
verbs: ["get", "watch", "list", "delete", "update", "create"]
- apiGroups: ["csiaddons.openshift.io"]
resources: ["csiaddonsnodes"]
verbs: ["get", "create", "update"]
verbs: ["get", "create", "update", "delete"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get"]
Expand Down
2 changes: 1 addition & 1 deletion config/csi-rbac/rbd_nodeplugin_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
rules:
- apiGroups: ["csiaddons.openshift.io"]
resources: ["csiaddonsnodes"]
verbs: ["get", "create", "update"]
verbs: ["get", "create", "update", "delete"]
- apiGroups: [""]
resources: ["pods"]
verbs: ["get"]
Expand Down
3 changes: 3 additions & 0 deletions deploy/all-in-one/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14100,6 +14100,7 @@ rules:
- get
- create
- update
- delete
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -14186,6 +14187,7 @@ rules:
- get
- create
- update
- delete
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -14220,6 +14222,7 @@ rules:
- get
- create
- update
- delete
- apiGroups:
- ""
resources:
Expand Down
3 changes: 3 additions & 0 deletions deploy/multifile/csi-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ rules:
- get
- create
- update
- delete
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -104,6 +105,7 @@ rules:
- get
- create
- update
- delete
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -138,6 +140,7 @@ rules:
- get
- create
- update
- delete
- apiGroups:
- ""
resources:
Expand Down

0 comments on commit 8550f4e

Please sign in to comment.