Adding support for the kube-router flag --cluster-asn flag (#8837)
This commit is contained in:
parent
ebbc5ed0ce
commit
4c97ce747c
3 changed files with 9 additions and 0 deletions
|
@ -26,6 +26,9 @@
|
||||||
# https://github.com/cloudnativelabs/kube-router/blob/master/docs/user-guide.md
|
# https://github.com/cloudnativelabs/kube-router/blob/master/docs/user-guide.md
|
||||||
# kube_router_extra_args: []
|
# kube_router_extra_args: []
|
||||||
|
|
||||||
|
# ASN number of the cluster, used when communicating with external BGP routers
|
||||||
|
# kube_router_cluster_asn: ~
|
||||||
|
|
||||||
# ASN numbers of the BGP peer to which cluster nodes will advertise cluster ip and node's pod cidr.
|
# ASN numbers of the BGP peer to which cluster nodes will advertise cluster ip and node's pod cidr.
|
||||||
# kube_router_peer_router_asns: ~
|
# kube_router_peer_router_asns: ~
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,9 @@ kube_router_enable_dsr: false
|
||||||
# https://github.com/cloudnativelabs/kube-router/blob/master/docs/user-guide.md
|
# https://github.com/cloudnativelabs/kube-router/blob/master/docs/user-guide.md
|
||||||
kube_router_extra_args: []
|
kube_router_extra_args: []
|
||||||
|
|
||||||
|
# ASN number of the cluster, used when communicating with external BGP routers
|
||||||
|
kube_router_cluster_asn: ~
|
||||||
|
|
||||||
# ASN numbers of the BGP peer to which cluster nodes will advertise cluster ip and node's pod cidr.
|
# ASN numbers of the BGP peer to which cluster nodes will advertise cluster ip and node's pod cidr.
|
||||||
kube_router_peer_router_asns: ~
|
kube_router_peer_router_asns: ~
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,9 @@ spec:
|
||||||
{% if kube_router_advertise_loadbalancer_ip %}
|
{% if kube_router_advertise_loadbalancer_ip %}
|
||||||
- --advertise-loadbalancer-ip
|
- --advertise-loadbalancer-ip
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if kube_router_cluster_asn %}
|
||||||
|
- --cluster-asn={{ kube_router_cluster_asn }}
|
||||||
|
{% endif %}
|
||||||
{% if kube_router_peer_router_asns %}
|
{% if kube_router_peer_router_asns %}
|
||||||
- --peer-router-asns={{ kube_router_peer_router_asns }}
|
- --peer-router-asns={{ kube_router_peer_router_asns }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue