(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:
Andreas Holmsten 2019-01-03 09:12:00 +01:00 committed by Kubernetes Prow Robot
parent 80379f6cab
commit a34139e19e

View file

@ -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 %}