Allow to specify a source address for metallb peerings, and target only some nodes using node selectors (#8534)

This commit is contained in:
Tony Fouchard 2022-02-15 13:57:19 -08:00 committed by GitHub
parent 98d5d0cdd5
commit 1d635e04e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,13 @@ data:
- peer-address: {{ peer.peer_address }} - peer-address: {{ peer.peer_address }}
peer-asn: {{ peer.peer_asn }} peer-asn: {{ peer.peer_asn }}
my-asn: {{ peer.my_asn }} my-asn: {{ peer.my_asn }}
{% if peer.source_address is defined %}
source-address: {{ peer.source_address }}
{% endif %}
{% if peer.node_selectors is defined %}
node-selectors:
{{ peer.node_selectors | to_yaml(indent=2, width=1337) | indent(8) }}
{% endif %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}
address-pools: address-pools: