downloads: split file and containers (#13581)

Splits the definitions into two dicts, while joining then for now to
preserve the downloads dict.

Update all consumers of the variables, which are roughly:
- manual includes of the download role (which will be removed in the
  short future)
- install tasks using the resolved 'dest' to find the artefacts

This will make further division of the downloads role easier.
This commit is contained in:
Max Gautier
2026-10-13 09:58:21 +00:00
committed by GitHub
parent 40d5c77c8e
commit 1011c240b4
25 changed files with 315 additions and 376 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
cmd: >
{{ kubectl }} apply -n {{ argocd_namespace }}
--server-side=true --force-conflicts --field-manager=kubespray
-f - -f {{ downloads.argocd_install.dest }}
-f - -f {{ downloads_file.argocd_install.dest }}
stdin: "{{ ns_object | to_json }}"
# https://github.com/argoproj/argo-cd/blob/master/docs/faq.md#i-forgot-the-admin-password-how-do-i-reset-it
@@ -2,7 +2,7 @@
- name: Gateway API | Download YAML
include_tasks: "../../../../download/tasks/download_file.yml"
vars:
download: "{{ download_defaults | combine(downloads.gateway_api_crds) }}"
download: "{{ download_defaults | combine(downloads_file.gateway_api_crds) }}"
- name: Gateway API | Create addon dir
file:
@@ -2,7 +2,7 @@
- name: Prometheus Operator CRDs | Download YAML
include_tasks: "../../../../download/tasks/download_file.yml"
vars:
download: "{{ download_defaults | combine(downloads.prometheus_operator_crds) }}"
download: "{{ download_defaults | combine(downloads_file.prometheus_operator_crds) }}"
- name: Prometheus Operator CRDs | Install
command:
+1 -1
View File
@@ -26,7 +26,7 @@
- name: Helm | Download helm
include_tasks: "../../../download/tasks/download_file.yml"
vars:
download: "{{ download_defaults | combine(downloads.helm) }}"
download: "{{ download_defaults | combine(downloads_file.helm) }}"
- name: Helm | Copy helm binary from download dir
copy: