Browse Source

(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 5 years ago
committed by Kubernetes Prow Robot
parent
commit
a34139e19e
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes/master/tasks/kubeadm-setup.yml

2
roles/kubernetes/master/tasks/kubeadm-setup.yml

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

Loading…
Cancel
Save