feat(k3s): Add option to set MetalLB interfaces

This commit is contained in:
Leo
2024-10-03 21:53:19 +02:00
parent eddbcbfb76
commit 754a379d42
2 changed files with 8 additions and 0 deletions

View File

@@ -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" %}
---