|
|
@ -8,7 +8,7 @@ metadata: |
|
|
|
namespace: kube-system |
|
|
|
|
|
|
|
--- |
|
|
|
# external attacher |
|
|
|
# external attacher |
|
|
|
kind: ClusterRole |
|
|
|
apiVersion: rbac.authorization.k8s.io/v1 |
|
|
|
metadata: |
|
|
@ -16,19 +16,16 @@ metadata: |
|
|
|
rules: |
|
|
|
- apiGroups: [""] |
|
|
|
resources: ["persistentvolumes"] |
|
|
|
verbs: ["get", "list", "watch", "patch"] |
|
|
|
verbs: ["get", "list", "watch", "update", "patch"] |
|
|
|
- apiGroups: [""] |
|
|
|
resources: ["nodes"] |
|
|
|
verbs: ["get", "list", "watch"] |
|
|
|
- apiGroups: ["storage.k8s.io"] |
|
|
|
resources: ["volumeattachments"] |
|
|
|
verbs: ["get", "list", "watch", "patch"] |
|
|
|
verbs: ["get", "list", "watch", "update", "patch"] |
|
|
|
- apiGroups: ["storage.k8s.io"] |
|
|
|
resources: ["csinodes"] |
|
|
|
verbs: ["get", "list", "watch"] |
|
|
|
- apiGroups: ["storage.k8s.io"] |
|
|
|
resources: ["volumeattachments/status"] |
|
|
|
verbs: ["patch"] |
|
|
|
|
|
|
|
|
|
|
|
--- |
|
|
@ -209,4 +206,4 @@ subjects: |
|
|
|
roleRef: |
|
|
|
kind: Role |
|
|
|
name: external-resizer-cfg |
|
|
|
apiGroup: rbac.authorization.k8s.io |
|
|
|
apiGroup: rbac.authorization.k8s.io |