Browse Source

Properly skip extra SANs when not specified for kubeadm (#1831)

pull/1834/head
Matthew Mosesohn 7 years ago
committed by GitHub
parent
commit
16462292e1
1 changed files with 4 additions and 4 deletions
  1. 8
      roles/kubernetes/master/tasks/kubeadm-setup.yml

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

@ -54,11 +54,11 @@
{%- if hostvars[host]['access_ip'] is defined %}{{ hostvars[host]['access_ip'] }}{% endif %}
{{ 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 %}
{%- if supplementary_addresses_in_ssl_keys is defined %}
{%- for addr in supplementary_addresses_in_ssl_keys %}
{{ addr }}
{% endfor %}
{% endif %}
{%- endfor %}
{%- endif %}
tags: facts
- name: kubeadm | Copy etcd cert dir under k8s cert dir

Loading…
Cancel
Save