From cb9cec10331963ef9bd8d57aff3fd285c524287c Mon Sep 17 00:00:00 2001 From: Etienne Audet-Cobello Date: Mon, 10 Jun 2024 10:30:01 -0400 Subject: [PATCH] simplify condition --- .../charts/ck-loadbalancer/templates/metallb/l2-policy.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/k8s/manifests/charts/ck-loadbalancer/templates/metallb/l2-policy.yaml b/k8s/manifests/charts/ck-loadbalancer/templates/metallb/l2-policy.yaml index 17936ebf17..9db34a07dd 100644 --- a/k8s/manifests/charts/ck-loadbalancer/templates/metallb/l2-policy.yaml +++ b/k8s/manifests/charts/ck-loadbalancer/templates/metallb/l2-policy.yaml @@ -11,12 +11,10 @@ spec: ipAddressPools: - {{ include "ck-loadbalancer.fullname" . | quote }} - {{- if gt (len .Values.l2.interfaces ) 0 -}} {{- with .Values.l2.interfaces }} interfaces: {{- toYaml . | nindent 4 }} {{- end }} - {{- end }} {{- end }} {{- end }}