Add volumeattachments resource to Longhorn ClusterRole
Longhorn-6197
Signed-off-by: Phan Le <phan.le@suse.com>
(cherry picked from commit a0879b8167
)
This commit is contained in:
parent
797a8e3308
commit
e462d7cdd1
@ -66,7 +66,7 @@ rules:
|
||||
- apiGroups: ["longhorn.io"]
|
||||
resources: ["volumes", "engines", "replicas", "settings", "engineimages", "nodes", "instancemanagers", "sharemanagers",
|
||||
"backingimages", "backingimagemanagers", "backingimagedatasources", "backuptargets", "backupvolumes", "backups",
|
||||
"recurringjobs", "orphans", "snapshots", "supportbundles", "systembackups", "systemrestores"]
|
||||
"recurringjobs", "orphans", "snapshots", "supportbundles", "systembackups", "systemrestores", "volumeattachments"]
|
||||
verbs: ["*"]
|
||||
- apiGroups: ["coordination.k8s.io"]
|
||||
resources: ["leases"]
|
||||
|
Loading…
Reference in New Issue
Block a user