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:
Max Gautier
2026-09-24 10:42:17 +00:00
committed by GitHub
parent 635d996c2c
commit c943bcadf6
2 changed files with 11 additions and 30 deletions
@@ -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