feat(talos): Add option to specify other gateway (#1316)
* feat(talos): Add option to specify other gateway * Renamed to default_gateway and add BGP config * Update config.sample.yaml --------- Co-authored-by: Devin Buhl <onedr0p@users.noreply.github.com>
This commit is contained in:
1 parent
7eac552cd6
commit
89559608b2
3 files changed
+15
No files matched your search
@@ -50,7 +50,11 @@ nodes:
|
||||
mtu: 1500
|
||||
routes:
|
||||
- network: 0.0.0.0/0
|
||||
{% if nodes.default_gateway %}
|
||||
gateway: "{{ nodes.default_gateway }}"
|
||||
{% else %}
|
||||
gateway: "{{ nodes.host_network | nthhost(1) }}"
|
||||
{% endif %}
|
||||
{% if item.controller %}
|
||||
vip:
|
||||
ip: "{{ cluster.endpoint_vip }}"
|
||||
@@ -61,7 +65,11 @@ nodes:
|
||||
mtu: 1500
|
||||
routes:
|
||||
- network: 0.0.0.0/0
|
||||
{% if nodes.default_gateway %}
|
||||
gateway: "{{ nodes.default_gateway }}"
|
||||
{% else %}
|
||||
gateway: "{{ nodes.host_network | nthhost(1) }}"
|
||||
{% endif %}
|
||||
{% if item.controller %}
|
||||
vip:
|
||||
ip: "{{ cluster.endpoint_vip }}"
|
||||
|
||||
Reference in new issue
Block a user