Commit 628ac539 authored by Robert Bailey's avatar Robert Bailey

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

Fixes #18335.
parent fdc433a9
...@@ -518,7 +518,7 @@ function create-certs { ...@@ -518,7 +518,7 @@ function create-certs {
# Note: This was heavily cribbed from make-ca-cert.sh # Note: This was heavily cribbed from make-ca-cert.sh
(cd "${KUBE_TEMP}" (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 tar xzf easy-rsa.tar.gz > /dev/null 2>&1
cd easy-rsa-master/easyrsa3 cd easy-rsa-master/easyrsa3
./easyrsa init-pki > /dev/null 2>&1 ./easyrsa init-pki > /dev/null 2>&1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment