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: ["*"]