Allow to specify a source address for metallb peerings, and target only some nodes using node selectors (#8534)
This commit is contained in:
parent
98d5d0cdd5
commit
1d635e04e4
1 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue