From c3a885fec95511004c33ec6eed061abb0e1b86d1 Mon Sep 17 00:00:00 2001 From: Aswin Surayanarayanan Date: Mon, 25 Oct 2021 17:34:46 +0530 Subject: [PATCH] Add RBAC permission endpointslices/restricted in broker roles Fixes : github.com/submariner-io/lighthouse/issues#627 Signed-off-by: Aswin Surayanarayanan --- submariner-k8s-broker/templates/rbac.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submariner-k8s-broker/templates/rbac.yaml b/submariner-k8s-broker/templates/rbac.yaml index 52e9b4a..47c8067 100644 --- a/submariner-k8s-broker/templates/rbac.yaml +++ b/submariner-k8s-broker/templates/rbac.yaml @@ -16,7 +16,7 @@ rules: resources: ["*"] verbs: ["create", "get", "list", "watch", "patch", "update", "delete"] - apiGroups: ["discovery.k8s.io"] - resources: ["endpointslices"] + resources: ["endpointslices", "endpointslices/restricted"] verbs: ["create", "get", "list", "watch","patch", "update", "delete"] - apiGroups: ["multicluster.x-k8s.io"] resources: ["*"]