Merge pull request #16 from MeinhardZhou/fix/attacher

Example: add va/status to rbac role's rule
This commit is contained in:
Meinhard Zhou 2023-03-30 17:48:00 +08:00 committed by GitHub
commit d888332416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ metadata:
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: nvmf-external-provisioner-role
name: nvmf-external-provisioner-binding
rules:
- apiGroups: [""]
resources: ["nodes"]
@ -71,6 +71,10 @@ rules:
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: ["storage.k8s.io"]
resources: ["volumeattachments/status"]
verbs: ["patch"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1