mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-11-01 05:56:18 -03:30
download/container: adapt to single key repo+tag -> image_name
This code will be deleted for the rework of the download role, for now we minimally adapt it to the new structure of downloads.
This commit is contained in:
@@ -42,8 +42,7 @@
|
||||
value:
|
||||
enabled: true
|
||||
container: true
|
||||
repo: "{{ item | regex_replace('^(.*):.*$', '\\1') }}"
|
||||
tag: "{{ item | regex_replace('^.*:(.*)$', '\\1') }}"
|
||||
image_name: "{{ item }}"
|
||||
groups:
|
||||
- k8s_cluster
|
||||
loop: "{{ kubeadm_images_list | flatten(levels=1) }}"
|
||||
|
||||
Reference in New Issue
Block a user