mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-21 21:20:15 -03:30
feat(calico): add support for numAllowedLocalASNumbers on bgppeers per node definition (#11570)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user