refactor: globalnet should be under the broker

Signed-off-by: Steve Mattar <smattar@redhat.com>
This commit is contained in:
Steve Mattar
2021-03-10 16:41:48 +02:00
committed by Steve Mattar
parent 8d6ca0bd1d
commit 64d7c11506
11 changed files with 49 additions and 16 deletions
+2 -2
View File
@@ -279,7 +279,7 @@ subjects:
name: {{ template "submariner.routeAgentServiceAccountName" . }}
namespace: {{ .Release.Namespace }}
---
{{- if ne .Values.submariner.globalCidr "" }}
{{- if .Values.broker.globalnet }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
@@ -622,7 +622,7 @@ subjects:
name: {{ template "submariner.routeAgentServiceAccountName" . }}
namespace: {{ .Release.Namespace }}
---
{{- if ne .Values.submariner.globalCidr "" }}
{{- if .Values.broker.globalnet }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata: