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:
Phan Le 2023-06-26 21:08:49 -07:00 committed by David Ko
parent 797a8e3308
commit e462d7cdd1

View File

@ -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"]