From 647ae90e5ad5a4d4b05f3a7cb4d6ca8ce62295fa Mon Sep 17 00:00:00 2001 From: Etienne Audet-Cobello Date: Tue, 18 Jun 2024 14:03:03 -0400 Subject: [PATCH] whitespace adjustments --- .../charts/ck-loadbalancer/templates/metallb/l2-policy.yaml | 2 +- .../charts/ck-loadbalancer/templates/metallb/lb-ip-pool.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 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 e8fb0991bc..b97bfd4adb 100644 --- a/k8s/manifests/charts/ck-loadbalancer/templates/metallb/l2-policy.yaml +++ b/k8s/manifests/charts/ck-loadbalancer/templates/metallb/l2-policy.yaml @@ -9,7 +9,7 @@ metadata: {{- include "ck-loadbalancer.labels" . | nindent 4 }} spec: ipAddressPools: - - {{ include "ck-loadbalancer.fullname" . }} + - {{ include "ck-loadbalancer.fullname" . }} {{- with .Values.l2.interfaces }} interfaces: {{- toYaml . | nindent 4 }} diff --git a/k8s/manifests/charts/ck-loadbalancer/templates/metallb/lb-ip-pool.yaml b/k8s/manifests/charts/ck-loadbalancer/templates/metallb/lb-ip-pool.yaml index ba60b3345e..c5a18df7a1 100644 --- a/k8s/manifests/charts/ck-loadbalancer/templates/metallb/lb-ip-pool.yaml +++ b/k8s/manifests/charts/ck-loadbalancer/templates/metallb/lb-ip-pool.yaml @@ -1,6 +1,5 @@ {{ if (eq .Values.driver "metallb") }} {{ if .Values.ipPool.cidrs }} - apiVersion: "metallb.io/v1beta1" kind: IPAddressPool metadata: @@ -14,7 +13,7 @@ spec: - {{ .cidr }} {{- else if and .start .stop }} - {{ printf "%s-%s" .start .stop }} - {{- end }} - {{- end }} + {{ end }} + {{ end }} {{ end }} {{ end }}