From d2b0d98ea2f1175586a773e109d2599485fa0a3d Mon Sep 17 00:00:00 2001 From: Vishal Thapar <5137689+vthapar@users.noreply.github.com> Date: Tue, 23 Jun 2020 19:30:29 +0530 Subject: [PATCH] Add globalnet flag for lighthouse (#43) To optimize Lighthouse for Globalnet, Lighthouse needs to know if globalnet was enabled. Signed-off-by: Vishal Thapar <5137689+vthapar@users.noreply.github.com> --- submariner/templates/lighthouse.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/submariner/templates/lighthouse.yaml b/submariner/templates/lighthouse.yaml index d55e4eb..f390b7a 100644 --- a/submariner/templates/lighthouse.yaml +++ b/submariner/templates/lighthouse.yaml @@ -30,6 +30,10 @@ spec: value: "{{ .Values.submariner.clusterId }}" - name: SUBMARINER_DEBUG value: "{{ .Values.submariner.debug }}" +{{- if ne .Values.submariner.globalCidr "" }} + - name: SUBMARINER_GLOBALNET_ENABLED + value: "true" +{{- end }} - name: BROKER_K8S_APISERVER value: "{{ .Values.broker.server }}" - name: BROKER_K8S_APISERVERTOKEN