mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-10-31 14:36:20 -02:30
downloads: separate etcd and etcd_container (#13555)
Mixing two semantically distincts artefacts makes things harder to read and to consume from other code. Needed for clean filtering on container / file.
This commit is contained in:
@@ -373,19 +373,24 @@ node_feature_discovery_image_tag: "v{{ node_feature_discovery_version }}"
|
||||
|
||||
downloads:
|
||||
etcd:
|
||||
container: "{{ etcd_deployment_type != 'host' }}"
|
||||
file: "{{ etcd_deployment_type == 'host' }}"
|
||||
enabled: true
|
||||
enabled: "{{ etcd_deployment_type == 'host' }}"
|
||||
file: true
|
||||
dest: "{{ local_release_dir }}/etcd-{{ etcd_version }}-linux-{{ image_arch }}.tar.gz"
|
||||
image_name: "{{ etcd_image_repo }}:{{ etcd_image_tag }}"
|
||||
checksum: "{{ etcd_binary_checksum if etcd_deployment_type == 'host' else None }}"
|
||||
checksum: "{{ etcd_binary_checksum }}"
|
||||
url: "{{ etcd_download_url }}"
|
||||
unarchive: "{{ etcd_deployment_type == 'host' }}"
|
||||
unarchive: true
|
||||
owner: "root"
|
||||
mode: "0755"
|
||||
groups:
|
||||
- etcd
|
||||
|
||||
etcd_container:
|
||||
enabled: "{{ etcd_deployment_type != 'host' }}"
|
||||
container: true
|
||||
image_name: "{{ etcd_image_repo }}:{{ etcd_image_tag }}"
|
||||
groups:
|
||||
- etcd
|
||||
|
||||
cni:
|
||||
enabled: true
|
||||
file: true
|
||||
|
||||
Reference in New Issue
Block a user