MetalLB IP address range extension (#6023)
* MetalLB IP address range extension * MetalLB IP address range extension
This commit is contained in:
parent
98e7a07fba
commit
d8345c5eae
2 changed files with 10 additions and 4 deletions
|
@ -1,10 +1,12 @@
|
||||||
---
|
---
|
||||||
metallb:
|
metallb:
|
||||||
ip_range: "10.5.0.50-10.5.0.99"
|
ip_range:
|
||||||
|
- "10.5.0.50-10.5.0.99"
|
||||||
protocol: "layer2"
|
protocol: "layer2"
|
||||||
# additional_address_pools:
|
# additional_address_pools:
|
||||||
# kube_service_pool:
|
# kube_service_pool:
|
||||||
# ip_range: "10.5.1.50-10.5.1.99"
|
# ip_range:
|
||||||
|
# - 10.5.1.50-10.5.1.99"
|
||||||
# protocol: "layer2"
|
# protocol: "layer2"
|
||||||
# auto_assign: false
|
# auto_assign: false
|
||||||
limits:
|
limits:
|
||||||
|
|
|
@ -10,12 +10,16 @@ data:
|
||||||
- name: loadbalanced
|
- name: loadbalanced
|
||||||
protocol: {{ metallb.protocol }}
|
protocol: {{ metallb.protocol }}
|
||||||
addresses:
|
addresses:
|
||||||
- {{ metallb.ip_range }}
|
{% for ip_range in metallb.ip_range %}
|
||||||
|
- {{ ip_range }}
|
||||||
|
{% endfor %}
|
||||||
{% if metallb.additional_address_pools is defined %}{% for pool in metallb.additional_address_pools %}
|
{% if metallb.additional_address_pools is defined %}{% for pool in metallb.additional_address_pools %}
|
||||||
- name: {{ pool }}
|
- name: {{ pool }}
|
||||||
protocol: {{ metallb.additional_address_pools[pool].protocol }}
|
protocol: {{ metallb.additional_address_pools[pool].protocol }}
|
||||||
addresses:
|
addresses:
|
||||||
- {{ metallb.additional_address_pools[pool].ip_range }}
|
{% for ip_range in metallb.additional_address_pools[pool].ip_range %}
|
||||||
|
- {{ ip_range }}
|
||||||
|
{% endfor %}
|
||||||
auto-assign: {{ metallb.additional_address_pools[pool].auto_assign }}
|
auto-assign: {{ metallb.additional_address_pools[pool].auto_assign }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue