From 1e3737abd90097df8aa9e7828aae1a10dad0dba9 Mon Sep 17 00:00:00 2001 From: Vishal Thapar <5137689+vthapar@users.noreply.github.com> Date: Thu, 3 Sep 2020 18:45:15 +0530 Subject: [PATCH] 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> --- submariner/templates/rbac.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submariner/templates/rbac.yaml b/submariner/templates/rbac.yaml index f3f38ed..a2aae8d 100644 --- a/submariner/templates/rbac.yaml +++ b/submariner/templates/rbac.yaml @@ -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"]