Merge ed82eb71dd into 2fad0a8db6
This commit is contained in:
commit
09d276dc0a
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -129,6 +129,10 @@ argument_specs:
|
|||
description: MetalLB ip range for load balancer
|
||||
default: 192.168.30.80-192.168.30.90
|
||||
|
||||
metal_lb_interfaces:
|
||||
description: MetalLB interfaces to announce on. By default, announces on all interfaces.
|
||||
default:
|
||||
|
||||
metal_lb_controller_tag_version:
|
||||
description: Image tag for MetalLB
|
||||
default: v0.14.3
|
||||
|
|
|
|||
|
|
@ -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" %}
|
||||
---
|
||||
|
|
|
|||
Loading…
Reference in New Issue