Skip to content

Commit 601770e

Browse files
committed
fix: add RBAC for CSIStorageCapacity to unbreak storage capacity tracking
1 parent 062f111 commit 601770e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

charts/tns-csi-driver/templates/rbac.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,12 @@ rules:
8181
- apiGroups: ["storage.k8s.io"]
8282
resources: ["volumeattributesclasses"]
8383
verbs: ["get", "list", "watch"]
84+
- apiGroups: ["storage.k8s.io"]
85+
resources: ["csistoragecapacities"]
86+
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
87+
- apiGroups: ["apps"]
88+
resources: ["replicasets"]
89+
verbs: ["get"]
8490

8591
---
8692
apiVersion: {{ include "tns-csi-driver.rbac.apiVersion" . }}

0 commit comments

Comments
 (0)