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 <sgaddam@redhat.com>
This commit is contained in:
Sridhar Gaddam authored and Thomas Pantelis committed 2022-01-04 07:48:50 -05:00
1 parent 9358c86eb5
commit b3a5e40a5a
1 file changed
+11 -1
+11 -1
View File
@@ -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: