mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-15 20:00:47 -03:30
Fix apiServerCertSANs in kubeadm config file (#3839)
This commit is contained in:
parent
2d8e04dca7
commit
ea833a4cd7
@ -58,7 +58,9 @@
|
||||
{{ apiserver_loadbalancer_domain_name }}
|
||||
{%- endif %}
|
||||
{%- for host in groups['kube-master'] -%}
|
||||
{%- if hostvars[host]['access_ip'] is defined %}{{ hostvars[host]['access_ip'] }}{% endif %}
|
||||
{%- if hostvars[host]['access_ip'] is defined %}
|
||||
{{ hostvars[host]['access_ip'] }}
|
||||
{%- endif %}
|
||||
{{ hostvars[host]['ip'] | default(hostvars[host]['ansible_default_ipv4']['address']) }}
|
||||
{%- endfor %}
|
||||
{%- if supplementary_addresses_in_ssl_keys is defined %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user