(Re)add line break for supplementary addr in SANs (#3952)
The change implemented in #3908 remove line breaks for supplementary addresses in kubeadm SANs, causing errors in the config file and failure to bring cluster up. This commit reimplement line breaks in between supplementary addresses.
This commit is contained in:
parent
80379f6cab
commit
a34139e19e
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
||||||
{{ 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 %}
|
||||||
|
|
Loading…
Reference in a new issue