mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-22 17:50:35 +00:00
refactor: globalnet should be under the broker
Signed-off-by: Steve Mattar <smattar@redhat.com>
This commit is contained in:
committed by
Steve Mattar
parent
8d6ca0bd1d
commit
64d7c11506
@@ -1,4 +1,4 @@
|
||||
{{- if ne .Values.submariner.globalCidr "" }}
|
||||
{{- if .Values.broker.globalnet }}
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user