Skip to content

Commit

Permalink
Fix the format of the list of images extracted from kubeadm (kubernet…
Browse files Browse the repository at this point in the history
…es-sigs#11741)

The download role expect 'groups' be a list, in order to properly filter
images.
  • Loading branch information
VannTen authored and kpoxo6op committed Dec 27, 2024
1 parent 6a7504a commit 001d04a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/download/tasks/prep_kubeadm_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
container: true
repo: "{{ item | regex_replace('^(.*):.*$', '\\1') }}"
tag: "{{ item | regex_replace('^.*:(.*)$', '\\1') }}"
groups: k8s_cluster
groups:
- k8s_cluster
loop: "{{ kubeadm_images_list | flatten(levels=1) }}"
register: kubeadm_images_cooked
run_once: true
Expand Down

0 comments on commit 001d04a

Please sign in to comment.