Fix certificates checking when adding etcd node to existing k8s node (#5807)

Co-authored-by: alexkomrakov <alexkomrakov@gmail.com>
This commit is contained in:
Etienne Champetier
2020-03-25 15:46:25 -04:00
committed by GitHub
parent 474fbf09c4
commit 6ad6609872
2 changed files with 23 additions and 3 deletions

View File

@@ -55,7 +55,7 @@
command: "bash -x {{ etcd_script_dir }}/make-ssl-etcd.sh -f {{ etcd_config_dir }}/openssl.conf -d {{ etcd_cert_dir }}"
environment:
- MASTERS: "{% for m in groups['etcd'] %}
{% if gen_node_certs[m] %}
{% if gen_master_certs[m] %}
{{ m }}
{% endif %}
{% endfor %}"