From: Todd Malsbary Date: Thu, 3 Mar 2022 19:04:18 +0000 (-0800) Subject: Fix incorrect curl options X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F4712%2F1;p=icn.git Fix incorrect curl options Signed-off-by: Todd Malsbary Change-Id: Ie2f13c94ba4eaca7bd729cfb82e4ed766c806f8a --- diff --git a/deploy/clusterctl/clusterctl.sh b/deploy/clusterctl/clusterctl.sh index 21293e4..ed7a747 100755 --- a/deploy/clusterctl/clusterctl.sh +++ b/deploy/clusterctl/clusterctl.sh @@ -7,7 +7,7 @@ LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib" source $LIBDIR/common.sh function deploy { - curl -L https://github.com/kubernetes-sigs/cluster-api/releases/download/${CAPI_VERSION}/clusterctl-linux-amd64 -o clusterctl + curl -sL https://github.com/kubernetes-sigs/cluster-api/releases/download/${CAPI_VERSION}/clusterctl-linux-amd64 -o clusterctl sudo install -o root -g root -m 0755 clusterctl /usr/local/bin/clusterctl rm clusterctl clusterctl version diff --git a/deploy/kubectl/kubectl.sh b/deploy/kubectl/kubectl.sh index 27fbe1a..4e35112 100755 --- a/deploy/kubectl/kubectl.sh +++ b/deploy/kubectl/kubectl.sh @@ -7,7 +7,7 @@ LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib" source $LIBDIR/common.sh function deploy { - curl -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" -o kubectl + curl -sL "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" -o kubectl sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl rm kubectl kubectl version --client diff --git a/deploy/sops/sops.sh b/deploy/sops/sops.sh index bf99887..c3bd7c0 100755 --- a/deploy/sops/sops.sh +++ b/deploy/sops/sops.sh @@ -7,7 +7,7 @@ LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib" source $LIBDIR/common.sh function deploy { - curl -L https://github.com/mozilla/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux -o sops + curl -sL https://github.com/mozilla/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux -o sops sudo install -o root -g root -m 0755 sops /usr/local/bin/sops rm sops sops --version diff --git a/deploy/yq/yq.sh b/deploy/yq/yq.sh index fa933fb..85f5b05 100755 --- a/deploy/yq/yq.sh +++ b/deploy/yq/yq.sh @@ -7,7 +7,7 @@ LIBDIR="$(dirname $(dirname ${SCRIPTDIR}))/env/lib" source $LIBDIR/common.sh function deploy { - curl -LO "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64" -o yq + curl -sL "https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/yq_linux_amd64" -o yq sudo install -o root -g root -m 0755 yq /usr/local/bin/yq rm yq }