mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-27 11:13:08 +01:00
Merge 754a379d42 into fab302fd91
This commit is contained in:
@@ -30,3 +30,4 @@ metal_lb_mode: layer2
|
||||
metal_lb_available_timeout: 240s
|
||||
metal_lb_controller_tag_version: v0.14.3
|
||||
metal_lb_ip_range: 192.168.30.80-192.168.30.90
|
||||
metal_lb_interfaces:
|
||||
|
||||
@@ -21,6 +21,13 @@ kind: L2Advertisement
|
||||
metadata:
|
||||
name: default
|
||||
namespace: metallb-system
|
||||
{% if metal_lb_interfaces %}
|
||||
spec:
|
||||
interfaces:
|
||||
{% for interface in metal_lb_interfaces %}
|
||||
- {{ interface }}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if metal_lb_mode == "bgp" %}
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user