Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment (#13225)

* #13157: Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment

Signed-off-by: root <kanyahal.abhishek@gmail.com>

* Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment

* Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment

---------

Signed-off-by: root <kanyahal.abhishek@gmail.com>
This commit is contained in:
Abhishek Kanyahal
2026-09-03 13:10:27 +00:00
committed by GitHub
parent 1daa5c4af0
commit cf0e68ee98
2 changed files with 6 additions and 6 deletions
@@ -56,12 +56,8 @@ data:
{% else %}
"ipam": {
"type": "calico-ipam",
{% if ipv4_stack %}
"assign_ipv4": "true"{{ ',' if (ipv6_stack and ipv4_stack) }}
{% endif %}
{% if ipv6_stack %}
"assign_ipv6": "true"
{% endif %}
"assign_ipv4": "{{ ipv4_stack | to_json }}",
"assign_ipv6": "{{ ipv6_stack | to_json }}"
},
{% endif %}
{% if calico_allow_ip_forwarding %}