diff --git a/bootstrap/templates/kubernetes/apps/kube-system/cilium/config/cilium-l3.yaml.j2 b/bootstrap/templates/kubernetes/apps/kube-system/cilium/config/cilium-l3.yaml.j2 index 2b649ca9..92e65e30 100644 --- a/bootstrap/templates/kubernetes/apps/kube-system/cilium/config/cilium-l3.yaml.j2 +++ b/bootstrap/templates/kubernetes/apps/kube-system/cilium/config/cilium-l3.yaml.j2 @@ -16,6 +16,9 @@ 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 %# #% endfor %# #% else %# #% if bootstrap_node_default_gateway %# diff --git a/config.sample.yaml b/config.sample.yaml index a20d9d8c..d17225be 100644 --- a/config.sample.yaml +++ b/config.sample.yaml @@ -85,6 +85,9 @@ bootstrap_bgp: # If these match, iBGP will be used. If not, eBGP will be used. peer_asn: "" # Router(s) AS local_asn: "" # Node(s) AS + # (Optional) If using a non-default BGP port. + # Default is 179 (tcp). + # peer_port: "" # BGP Port # (Required) The advertised CIDR for the cluster, this must NOT overlap with any # existing networks and is usually a /16 (64K IPs). # If you want to use IPv6 check the advanced flags below