From 6155084628ff2c4558c9c52e81089bfeb6424380 Mon Sep 17 00:00:00 2001 From: Ashley Dumaine <5779804+AshleyDumaine@users.noreply.github.com> Date: Thu, 29 Aug 2024 10:05:25 -0400 Subject: [PATCH] udpate helm chart for excluding bgp node selector --- deploy/chart/templates/daemonset.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy/chart/templates/daemonset.yaml b/deploy/chart/templates/daemonset.yaml index f1ae7b90..9b5304bf 100644 --- a/deploy/chart/templates/daemonset.yaml +++ b/deploy/chart/templates/daemonset.yaml @@ -46,7 +46,9 @@ spec: {{- end }} {{- end }} {{- if .Values.sharedIPLoadBalancing }} - - --bgp-node-selector={{ required "A valid .Values.sharedIPLoadBalancing.bgpNodeSelector is required for shared IP load-balancing" .Values.sharedIPLoadBalancing.bgpNodeSelector }} + {{- if .Values.sharedIPLoadBalancing.bgpNodeSelector }} + - --bgp-node-selector={{ .Values.sharedIPLoadBalancing.bgpNodeSelector }} + {{- end }} - --load-balancer-type={{ required "A valid .Values.sharedIPLoadBalancing.loadBalancerType is required for shared IP load-balancing" .Values.sharedIPLoadBalancing.loadBalancerType }} {{- end }} volumeMounts: