mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-10 20:29:18 +03:00
Add images downloader to download roles (#3914)
* Add images downloader to download roles * Use single jinja2 templates * add kube_version to templates
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
925a820b56
commit
6362211860
7
roles/download/tasks/kubeadm_images.yml
Normal file
7
roles/download/tasks/kubeadm_images.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: kubeadm | Create kubeadm config
|
||||
template:
|
||||
src: "kubeadm-images.yaml.j2"
|
||||
dest: "{{ kube_config_dir }}/kubeadm-images.yaml"
|
||||
|
||||
- name: container_download | download images for kubeadm config images
|
||||
command: "{{ local_release_dir }}/kubeadm config images pull --config={{ kube_config_dir }}/kubeadm-images.yaml"
|
||||
Reference in New Issue
Block a user