Fixed syntax error in _bgp_config dict (#12258)

This commit is contained in:
mathgaming
2025-07-11 03:43:27 +02:00
committed by GitHub
parent 784bf36c66
commit ce2ba28dec

View File

@@ -353,7 +353,7 @@
{% if not calico_no_global_as_num | default(false) %}"asNumber": {{ global_as_num }},{% endif %} {% if not calico_no_global_as_num | default(false) %}"asNumber": {{ global_as_num }},{% endif %}
"nodeToNodeMeshEnabled": {{ nodeToNodeMeshEnabled | default('true') }} , "nodeToNodeMeshEnabled": {{ nodeToNodeMeshEnabled | default('true') }} ,
{% if calico_advertise_cluster_ips | default(false) %} {% if calico_advertise_cluster_ips | default(false) %}
"serviceClusterIPs": >- "serviceClusterIPs":
{%- if ipv4_stack and ipv6_stack-%} {%- if ipv4_stack and ipv6_stack-%}
[{"cidr": "{{ kube_service_addresses }}", "cidr": "{{ kube_service_addresses_ipv6 }}"}], [{"cidr": "{{ kube_service_addresses }}", "cidr": "{{ kube_service_addresses_ipv6 }}"}],
{%- elif ipv6_stack-%} {%- elif ipv6_stack-%}