From a0879b8167399fda236fc55a7f76353780ca2463 Mon Sep 17 00:00:00 2001 From: Phan Le Date: Mon, 26 Jun 2023 21:08:49 -0700 Subject: [PATCH] Add volumeattachments resource to Longhorn ClusterRole Longhorn-6197 Signed-off-by: Phan Le --- uninstall/uninstall.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uninstall/uninstall.yaml b/uninstall/uninstall.yaml index f64beda..abeefe8 100644 --- a/uninstall/uninstall.yaml +++ b/uninstall/uninstall.yaml @@ -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"]