(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.
pull/3969/head
Andreas Holmsten 2019-01-03 09:12:00 +01:00 committed by Kubernetes Prow Robot
parent 80379f6cab
commit a34139e19e
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
{{ hostvars[host]['ip'] | default(hostvars[host]['ansible_default_ipv4']['address']) }}
{%- endfor %}
{%- 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 }}
{%- endfor %}
{%- endif %}