From b3a5e40a5a4f91d893583d4c15aee6f9a7238661 Mon Sep 17 00:00:00 2001 From: Sridhar Gaddam Date: Tue, 4 Jan 2022 15:17:02 +0530 Subject: [PATCH] Globalnet include ClusterRole for services As part of Globalnet enhancement where kubeproxy dependency is removed, the Globalnet Pod will now create internal services for every exported service in the respective namespace where the original service resides. This PR adds the necessary clusterRole to allow Globalnet pod to create/delete such internal services. Related to: https://github.com/submariner-io/submariner/issues/1166 Signed-off-by: Sridhar Gaddam --- submariner-operator/templates/rbac.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/submariner-operator/templates/rbac.yaml b/submariner-operator/templates/rbac.yaml index 2af3578..62a9a09 100644 --- a/submariner-operator/templates/rbac.yaml +++ b/submariner-operator/templates/rbac.yaml @@ -678,7 +678,6 @@ rules: - "" resources: - pods - - services - namespaces - nodes - endpoints @@ -687,6 +686,17 @@ rules: - list - watch - update + - apiGroups: + - "" + resources: + - services + verbs: + - create + - get + - list + - watch + - update + - delete - apiGroups: - submariner.io resources: