Add deletecollection verb for endpointslices

Refer: https://github.com/submariner-io/submariner-operator/pull/636

Signed-off-by: Vishal Thapar <5137689+vthapar@users.noreply.github.com>
This commit is contained in:
Vishal Thapar
2020-09-03 10:10:19 -04:00
committed by Thomas Pantelis
parent c4760944f9
commit 1e3737abd9
+1 -1
View File
@@ -122,7 +122,7 @@ rules:
verbs: ["get", "list", "watch", "update"]
- apiGroups: ["discovery.k8s.io"]
resources: ["endpointslices"]
verbs: ["create", "get", "list", "watch", "update", "delete"]
verbs: ["create", "get", "list", "watch", "update", "delete", "deletecollection"]
- apiGroups: ["lighthouse.submariner.io"]
resources: ["*"]
verbs: ["create", "get", "list", "watch", "update", "delete"]