Fixup etcdctl download for etcd kubeadm mode (#4991)

Change-Id: I8d8e59a97823390f40e8810905ca52430329f040
pull/4994/head
Matthew Mosesohn 2019-07-21 10:08:53 +03:00 committed by Kubernetes Prow Robot
parent 428e52e0d1
commit 1cbdd7ed5c
1 changed files with 4 additions and 2 deletions

View File

@ -314,13 +314,15 @@ downloads:
etcd:
container: "{{ etcd_deployment_type != 'host' }}"
file: "{{ etcd_deployment_type == 'host' }}"
file: "{{ etcd_deployment_type == 'host' or etcd_kubeadm_enabled }}"
enabled: true
version: "{{ etcd_version }}"
dest: "{{local_release_dir}}/etcd-{{ etcd_version }}-linux-amd64.tar.gz"
repo: "{{ etcd_image_repo }}"
tag: "{{ etcd_image_tag }}"
sha256: "{{ etcd_binary_checksum if etcd_deployment_type == 'host' else etcd_digest_checksum|d(None) }}"
sha256: >-
{{ etcd_binary_checksum if (etcd_deployment_type == 'host' or etcd_kubeadm_enabled)
else etcd_digest_checksum|d(None) }}
url: "{{ etcd_download_url }}"
unarchive: true
owner: "root"