mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Fix
This commit is contained in:
@@ -36,7 +36,7 @@ IP.{{ counter["ip"] }} = {{ hostvars[host]['ip'] | default(hostvars[host]['ansib
|
|||||||
{% if kube_apiserver_ip is defined %}
|
{% if kube_apiserver_ip is defined %}
|
||||||
IP.{{ counter["ip"] }} = {{ kube_apiserver_ip }}{{ increment(counter, 'ip') }}
|
IP.{{ counter["ip"] }} = {{ kube_apiserver_ip }}{{ increment(counter, 'ip') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if loadbalancer_apiserver.address is defined %}
|
{% if loadbalancer_apiserver is defined and loadbalancer_apiserver.address is defined %}
|
||||||
IP.{{ counter["ip"] }} = {{ loadbalancer_apiserver.address }}{{ increment(counter, 'ip') }}
|
IP.{{ counter["ip"] }} = {{ loadbalancer_apiserver.address }}{{ increment(counter, 'ip') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if supplementary_addresses_in_ssl_keys is defined %}
|
{% if supplementary_addresses_in_ssl_keys is defined %}
|
||||||
|
|||||||
Reference in New Issue
Block a user