From a59585b6dcb731b91690cd8299b518fa36eab82e Mon Sep 17 00:00:00 2001 From: k8s-infra-cherrypick-robot <90416843+k8s-infra-cherrypick-robot@users.noreply.github.com> Date: Fri, 11 Jul 2025 00:31:28 -0700 Subject: [PATCH] Fixed syntax error in _bgp_config dict (#12394) Co-authored-by: mathgaming --- roles/network_plugin/calico/tasks/install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network_plugin/calico/tasks/install.yml b/roles/network_plugin/calico/tasks/install.yml index 52bd5c452..6b5d483b5 100644 --- a/roles/network_plugin/calico/tasks/install.yml +++ b/roles/network_plugin/calico/tasks/install.yml @@ -353,7 +353,7 @@ {% if not calico_no_global_as_num | default(false) %}"asNumber": {{ global_as_num }},{% endif %} "nodeToNodeMeshEnabled": {{ nodeToNodeMeshEnabled | default('true') }} , {% if calico_advertise_cluster_ips | default(false) %} - "serviceClusterIPs": >- + "serviceClusterIPs": {%- if ipv4_stack and ipv6_stack-%} [{"cidr": "{{ kube_service_addresses }}", "cidr": "{{ kube_service_addresses_ipv6 }}"}], {%- elif ipv6_stack-%}