mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-09 19:58:07 +03:00
Properly skip extra SANs when not specified for kubeadm (#1831)
This commit is contained in:
@@ -54,11 +54,11 @@
|
|||||||
{%- 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']) }}
|
{{ hostvars[host]['ip'] | default(hostvars[host]['ansible_default_ipv4']['address']) }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{% if supplementary_addresses_in_ssl_keys is defined %}
|
{%- if supplementary_addresses_in_ssl_keys is defined %}
|
||||||
{% for addr in supplementary_addresses_in_ssl_keys %}
|
{%- for addr in supplementary_addresses_in_ssl_keys %}
|
||||||
{{ addr }}
|
{{ addr }}
|
||||||
{% endfor %}
|
{%- endfor %}
|
||||||
{% endif %}
|
{%- endif %}
|
||||||
tags: facts
|
tags: facts
|
||||||
|
|
||||||
- name: kubeadm | Copy etcd cert dir under k8s cert dir
|
- name: kubeadm | Copy etcd cert dir under k8s cert dir
|
||||||
|
|||||||
Reference in New Issue
Block a user