Skip to content

Commit

Permalink
Merge pull request #2441 from andyzhangx/add-pv-patch-permission-1.29
Browse files Browse the repository at this point in the history
[release-1.29] fix: add pv patch permission with HonorPVReclaimPolicy enabled
  • Loading branch information
andyzhangx authored Jul 30, 2024
2 parents 4e8581b + 8299327 commit d2a8045
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file modified charts/latest/azuredisk-csi-driver-v1.29.7.tgz
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
rules:
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete"]
verbs: ["get", "list", "watch", "create", "patch", "delete"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
rules:
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete"]
verbs: ["get", "list", "watch", "create", "patch", "delete"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"]
Expand Down
2 changes: 1 addition & 1 deletion deploy/rbac-csi-azuredisk-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
rules:
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete"]
verbs: ["get", "list", "watch", "create", "patch", "delete"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"]
Expand Down
2 changes: 1 addition & 1 deletion deploy/v1.29.7/rbac-csi-azuredisk-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
rules:
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "create", "delete"]
verbs: ["get", "list", "watch", "create", "patch", "delete"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch", "update"]
Expand Down

0 comments on commit d2a8045

Please sign in to comment.