mirror of https://github.com/k3s-io/k3s
Merge pull request #56392 from porridge/unmute-cfssl-curl
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Unmute curl when fetching cfssl. **What this PR does / why we need it**: This is a step forward towards fixing #55589. **Release note**: ```release-note NONE ``` /kind bug @kubernetes/sig-scalability - affects our tests @kubernetes/sig-test-infra - it's a bug in kube-up, please add to v1.9 and approve /priority critical-urgentpull/6/head
commit
072c98ceb4
|
@ -737,12 +737,12 @@ function kube::util::ensure-cfssl {
|
||||||
kernel=$(uname -s)
|
kernel=$(uname -s)
|
||||||
case "${kernel}" in
|
case "${kernel}" in
|
||||||
Linux)
|
Linux)
|
||||||
curl --retry 10 -s -L -o cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
|
curl --retry 10 -L -o cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64
|
||||||
curl --retry 10 -s -L -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
|
curl --retry 10 -L -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64
|
||||||
;;
|
;;
|
||||||
Darwin)
|
Darwin)
|
||||||
curl --retry 10 -s -L -o cfssl https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64
|
curl --retry 10 -L -o cfssl https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64
|
||||||
curl --retry 10 -s -L -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64
|
curl --retry 10 -L -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown, unsupported platform: ${kernel}." >&2
|
echo "Unknown, unsupported platform: ${kernel}." >&2
|
||||||
|
|
Loading…
Reference in New Issue