k8s-sig-cluster-lifecycleawskubesprayhigh-availabilityansiblekubernetes-clustergcekubernetesbare-metal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
701 B
25 lines
701 B
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
namespace: metallb-system
|
|
name: config
|
|
data:
|
|
config: |
|
|
address-pools:
|
|
- name: loadbalanced
|
|
protocol: {{ metallb.protocol }}
|
|
addresses:
|
|
{% for ip_range in metallb.ip_range %}
|
|
- {{ ip_range }}
|
|
{% endfor %}
|
|
{% if metallb.additional_address_pools is defined %}{% for pool in metallb.additional_address_pools %}
|
|
- name: {{ pool }}
|
|
protocol: {{ metallb.additional_address_pools[pool].protocol }}
|
|
addresses:
|
|
{% for ip_range in metallb.additional_address_pools[pool].ip_range %}
|
|
- {{ ip_range }}
|
|
{% endfor %}
|
|
auto-assign: {{ metallb.additional_address_pools[pool].auto_assign }}
|
|
{% endfor %}
|
|
{% endif %}
|