Fixup etcdctl download for etcd kubeadm mode (#4991)
Change-Id: I8d8e59a97823390f40e8810905ca52430329f040pull/4994/head
parent
428e52e0d1
commit
1cbdd7ed5c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue