From d69fbb81b3e8c5b9af47399e0f18e3ee4d21cbb1 Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Thu, 3 Mar 2022 11:04:18 -0800 Subject: [PATCH] Fix incorrect curl options Signed-off-by: Todd Malsbary Change-Id: Ie2f13c94ba4eaca7bd729cfb82e4ed766c806f8a --- deploy/clusterctl/clusterctl.sh | 2 +- deploy/kubectl/kubectl.sh | 2 +- deploy/sops/sops.sh | 2 +- deploy/yq/yq.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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 } -- 2.16.6