From e417d40acf092921fe62de131c9662d63f3e8fd4 Mon Sep 17 00:00:00 2001 From: Etienne Audet-Cobello Date: Mon, 17 Jun 2024 17:15:03 -0400 Subject: [PATCH] remove quote from includes --- .../charts/ck-loadbalancer/templates/cilium/bgp-policy.yaml | 2 +- .../charts/ck-loadbalancer/templates/cilium/l2-policy.yaml | 2 +- .../charts/ck-loadbalancer/templates/cilium/lb-ip-pool.yaml | 2 +- .../ck-loadbalancer/templates/metallb/bgp-policy.yaml | 6 +++--- .../charts/ck-loadbalancer/templates/metallb/l2-policy.yaml | 5 ++--- .../ck-loadbalancer/templates/metallb/lb-ip-pool.yaml | 1 - 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/k8s/manifests/charts/ck-loadbalancer/templates/cilium/bgp-policy.yaml b/k8s/manifests/charts/ck-loadbalancer/templates/cilium/bgp-policy.yaml index 42e8b5979f..3affe934cd 100644 --- a/k8s/manifests/charts/ck-loadbalancer/templates/cilium/bgp-policy.yaml +++ b/k8s/manifests/charts/ck-loadbalancer/templates/cilium/bgp-policy.yaml @@ -4,7 +4,7 @@ apiVersion: "cilium.io/v2alpha1" kind: CiliumBGPPeeringPolicy metadata: - name: {{ include "ck-loadbalancer.fullname" . | quote }} + name: {{ include "ck-loadbalancer.fullname" . }} labels: {{- include "ck-loadbalancer.labels" . | nindent 4 }} spec: diff --git a/k8s/manifests/charts/ck-loadbalancer/templates/cilium/l2-policy.yaml b/k8s/manifests/charts/ck-loadbalancer/templates/cilium/l2-policy.yaml index 7ab96c3bc5..7540cd8661 100644 --- a/k8s/manifests/charts/ck-loadbalancer/templates/cilium/l2-policy.yaml +++ b/k8s/manifests/charts/ck-loadbalancer/templates/cilium/l2-policy.yaml @@ -4,7 +4,7 @@ apiVersion: "cilium.io/v2alpha1" kind: CiliumL2AnnouncementPolicy metadata: - name: {{ include "ck-loadbalancer.fullname" . | quote }} + name: {{ include "ck-loadbalancer.fullname" . }} labels: {{- include "ck-loadbalancer.labels" . | nindent 4 }} spec: diff --git a/k8s/manifests/charts/ck-loadbalancer/templates/cilium/lb-ip-pool.yaml b/k8s/manifests/charts/ck-loadbalancer/templates/cilium/lb-ip-pool.yaml index 15405e83ae..a5d2190a3d 100644 --- a/k8s/manifests/charts/ck-loadbalancer/templates/cilium/lb-ip-pool.yaml +++ b/k8s/manifests/charts/ck-loadbalancer/templates/cilium/lb-ip-pool.yaml @@ -4,7 +4,7 @@ apiVersion: "cilium.io/v2alpha1" kind: CiliumLoadBalancerIPPool metadata: - name: {{ include "ck-loadbalancer.fullname" . | quote }} + name: {{ include "ck-loadbalancer.fullname" . }} labels: {{- include "ck-loadbalancer.labels" . | nindent 4 }} spec: diff --git a/k8s/manifests/charts/ck-loadbalancer/templates/metallb/bgp-policy.yaml b/k8s/manifests/charts/ck-loadbalancer/templates/metallb/bgp-policy.yaml index 149734ea96..78c5b5f5ee 100644 --- a/k8s/manifests/charts/ck-loadbalancer/templates/metallb/bgp-policy.yaml +++ b/k8s/manifests/charts/ck-loadbalancer/templates/metallb/bgp-policy.yaml @@ -5,7 +5,7 @@ apiVersion: "metallb.io/v1beta2" kind: BGPPeer metadata: - name: {{ include "ck-loadbalancer.fullname" . | quote }} + name: {{ include "ck-loadbalancer.fullname" . }} labels: {{- include "ck-loadbalancer.labels" $ | nindent 4 }} spec: @@ -20,12 +20,12 @@ spec: apiVersion: "metallb.io/v1beta1" kind: BGPAdvertisement metadata: - name: {{ include "ck-loadbalancer.fullname" . | quote }} + name: {{ include "ck-loadbalancer.fullname" . }} labels: {{- include "ck-loadbalancer.labels" . | nindent 4 }} spec: ipAddressPools: - - {{ include "ck-loadbalancer.fullname" . | quote }} + - {{ include "ck-loadbalancer.fullname" . }} {{- end }} {{- end}} 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 9db34a07dd..e8fb0991bc 100644 --- a/k8s/manifests/charts/ck-loadbalancer/templates/metallb/l2-policy.yaml +++ b/k8s/manifests/charts/ck-loadbalancer/templates/metallb/l2-policy.yaml @@ -4,13 +4,12 @@ apiVersion: "metallb.io/v1beta1" kind: L2Advertisement metadata: - name: {{ include "ck-loadbalancer.fullname" . | quote }} + name: {{ include "ck-loadbalancer.fullname" . }} labels: {{- include "ck-loadbalancer.labels" . | nindent 4 }} spec: ipAddressPools: - - {{ include "ck-loadbalancer.fullname" . | quote }} - + - {{ 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 5d5f295564..ba60b3345e 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 @@ -16,6 +16,5 @@ spec: - {{ printf "%s-%s" .start .stop }} {{- end }} {{- end }} - {{ end }} {{ end }}