deploy: Add permission to the old longhorn API group
@@ -37,6 +37,10 @@ rules:
resources: ["volumes", "volumes/status", "engines", "engines/status", "replicas", "replicas/status", "settings",
"engineimages", "engineimages/status", "nodes", "nodes/status", "instancemanagers", "instancemanagers/status"]
verbs: ["*"]
+# to be removed after v0.7.0
+- apiGroups: ["longhorn.rancher.io"]
+ resources: ["volumes", "engines", "replicas", "settings", "engineimages", "nodes", "instancemanagers"]
+ verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
