Skip to content
Snippets Groups Projects
Commit 3617ae31 authored by Matthew Mosesohn's avatar Matthew Mosesohn Committed by Kubernetes Prow Robot
Browse files

Optionally skip predownload of kubeadm images (#4832)

parent 4f05d801
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,9 @@ local_release_dir: /tmp/releases ...@@ -4,6 +4,9 @@ local_release_dir: /tmp/releases
# Used to only evaluate vars from download role # Used to only evaluate vars from download role
skip_downloads: false skip_downloads: false
# Optionally skip kubeadm images download
skip_kubeadm_images: false
# if this is set to true will only download files once. Doesn't work # if this is set to true will only download files once. Doesn't work
# on Container Linux by CoreOS unless the download_localhost is true and localhost # on Container Linux by CoreOS unless the download_localhost is true and localhost
# is running another OS type. Default compress level is 1 (fastest). # is running another OS type. Default compress level is 1 (fastest).
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
when: when:
- kube_version is version('v1.11.0', '>=') - kube_version is version('v1.11.0', '>=')
- not skip_downloads|default(false) - not skip_downloads|default(false)
- not skip_kubeadm_images|default(false)
- inventory_hostname in groups['kube-master'] - inventory_hostname in groups['kube-master']
- name: Set kubeadm_images - name: Set kubeadm_images
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment