feat(calico): add support for numAllowedLocalASNumbers on bgppeers per node definition (#11570)

This commit is contained in:
Erwan Miran
2024-09-28 11:06:01 +02:00
committed by GitHub
parent 24e1765ae2
commit 8c3b2851f6
4 changed files with 15 additions and 1 deletions

View File

@@ -100,6 +100,9 @@
{% if calico_version is version('v3.26.0', '>=') and (item.filters | default([]) | length > 0) %}
"filters": {{ item.filters }},
{% endif %}
{% if calico_version is version('v3.23.0', '>=') and (item.numallowedlocalasnumbers | default(0) > 0) %}
"numAllowedLocalASNumbers": {{ item.numallowedlocalasnumbers }},
{% endif %}
"sourceAddress": "{{ item.sourceaddress | default('UseNodeIP') }}"
}}
register: output