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
+6
View File
@@ -136,3 +136,9 @@ questions:
group: "Advanced Configuration"
description: "Cable driver implementation"
label: "Cable Driver"
- variable: submariner.serviceDiscovery
type: boolean
default: false
group: "Advanced Configuration"
description: "Enable multicluster service discovery"
label: "Service Discovery Enabled"
+1 -1
View File
@@ -1,4 +1,4 @@
{{- if ne .Values.submariner.globalCidr "" }}
{{- if .Values.broker.globalnet }}
apiVersion: apps/v1
kind: DaemonSet
metadata:
+1 -1
View File
@@ -30,7 +30,7 @@ spec:
value: "{{ .Values.submariner.clusterId }}"
- name: SUBMARINER_DEBUG
value: "{{ .Values.submariner.debug }}"
{{- if ne .Values.submariner.globalCidr "" }}
{{- if .Values.broker.globalnet }}
- name: SUBMARINER_GLOBALNET_ENABLED
value: "true"
{{- end }}
+2 -2
View File
@@ -195,7 +195,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:
@@ -463,7 +463,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:
+1
View File
@@ -19,6 +19,7 @@ broker:
namespace: xyz
insecure: false
ca: ""
globalnet: false
rbac:
create: true
ipsec: