Skip to content
Snippets Groups Projects
Commit ea833a4c authored by pasqualet's avatar pasqualet Committed by Kubernetes Prow Robot
Browse files

Fix apiServerCertSANs in kubeadm config file (#3839)

parent 2d8e04dc
No related branches found
No related tags found
No related merge requests found
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment