Add retries to fetch the easy-rsa bundle from GCS.

Fixes #18335.
This commit is contained in:
Robert Bailey 2015-12-08 11:44:11 -08:00
parent fdc433a9ee
commit 628ac539e8

View File

@ -518,7 +518,7 @@ function create-certs {
# Note: This was heavily cribbed from make-ca-cert.sh
(cd "${KUBE_TEMP}"
curl -L -O https://storage.googleapis.com/kubernetes-release/easy-rsa/easy-rsa.tar.gz > /dev/null 2>&1
curl -L -O --connect-timeout 20 --retry 6 --retry-delay 2 https://storage.googleapis.com/kubernetes-release/easy-rsa/easy-rsa.tar.gz > /dev/null 2>&1
tar xzf easy-rsa.tar.gz > /dev/null 2>&1
cd easy-rsa-master/easyrsa3
./easyrsa init-pki > /dev/null 2>&1