Add permission on ClusterRole longhorn-role
Add the following permission on ClusterRole longhorn-role with:
backuptargets
backuptargets/status
backupvolumes
backupvolumes/status
backups
backups/status
@@ -43,7 +43,8 @@ rules:
resources: ["volumes", "volumes/status", "engines", "engines/status", "replicas", "replicas/status", "settings",
"engineimages", "engineimages/status", "nodes", "nodes/status", "instancemanagers", "instancemanagers/status",
"sharemanagers", "sharemanagers/status", "backingimages", "backingimages/status",
- "backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status"]
+ "backingimagemanagers", "backingimagemanagers/status", "backingimagedatasources", "backingimagedatasources/status",
+ "backuptargets", "backuptargets/status", "backupvolumes", "backupvolumes/status", "backups", "backups/status"]
verbs: ["*"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
