mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-13 21:34:40 +03:00
Update: add Cilium LB IP Pool configuration to support ranges (#12140)
This commit is contained in:
@@ -6,7 +6,11 @@ metadata:
|
||||
name: "{{ cilium_loadbalancer_ip_pool.name }}"
|
||||
spec:
|
||||
blocks:
|
||||
{% for cblock in cilium_loadbalancer_ip_pool.cidrs %}
|
||||
{% for cblock in cilium_loadbalancer_ip_pool.cidrs | default([]) %}
|
||||
- cidr: "{{ cblock }}"
|
||||
{% endfor %}
|
||||
{% for rblock in cilium_loadbalancer_ip_pool.ranges | default([]) %}
|
||||
- start: "{{ rblock.start }}"
|
||||
stop: "{{ rblock.stop | default(rblock.start) }}"
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user