mirror of
https://github.com/techno-tim/k3s-ansible.git
synced 2025-12-27 11:13:08 +01:00
feat(k3s): Add option to set MetalLB interfaces
This commit is contained in:
@@ -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