fix: update bgp peer port logic

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2024-05-27 09:27:12 -04:00
1 parent cbe8b24c78
commit 0dfd4f5dd8
2 files changed
+4 -8

No files matched your search

@@ -16,9 +16,7 @@ spec:
#% for item in bootstrap_bgp.peers %#
- peerAddress: "#{ item }#/32"
peerASN: #{ bootstrap_bgp.peer_asn }#
#% if bootstrap_bgp.peer_port %#
peerPort: #{ bootstrap_bgp.peer_port }#
#% endif %#
peerPort: #{ bootstrap_bgp.peer_port | default(179) }#
#% endfor %#
#% else %#
#% if bootstrap_node_default_gateway %#