Optionally skip predownload of kubeadm images (#4832)

This commit is contained in:
Matthew Mosesohn 2019-06-04 14:35:02 +03:00 committed by Kubernetes Prow Robot
parent 4f05d801c3
commit 3617ae31f6
2 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,9 @@ local_release_dir: /tmp/releases
# Used to only evaluate vars from download role
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
# on Container Linux by CoreOS unless the download_localhost is true and localhost
# is running another OS type. Default compress level is 1 (fastest).

View file

@ -7,6 +7,7 @@
when:
- kube_version is version('v1.11.0', '>=')
- not skip_downloads|default(false)
- not skip_kubeadm_images|default(false)
- inventory_hostname in groups['kube-master']
- name: Set kubeadm_images