From bba8b8e2b5650404fc306097c1b782bb2abca150 Mon Sep 17 00:00:00 2001 From: Gene Tomilko <113466918+gtomilko@users.noreply.github.com> Date: Mon, 27 Nov 2023 07:33:00 -0800 Subject: [PATCH] Update service.yaml.j2 (#1641) fix loadbalancerip --- roles/installer/templates/networking/service.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/installer/templates/networking/service.yaml.j2 b/roles/installer/templates/networking/service.yaml.j2 index 19cd10222..80766a9c3 100644 --- a/roles/installer/templates/networking/service.yaml.j2 +++ b/roles/installer/templates/networking/service.yaml.j2 @@ -52,7 +52,7 @@ spec: type: NodePort {% elif service_type | lower == "loadbalancer" %} type: LoadBalancer -{% if loadbalancer_ip is defined and loadbalancer_ip|length %} +{% if loadbalancer_ip is defined and loadbalancer_ip | length %} loadbalancerip: '{{ loadbalancer_ip }}' {% endif %} {% else %}