From d69a254572a415767247126e8edf73d5088f144f Mon Sep 17 00:00:00 2001 From: rdinardi-bw <39524010+rdinardi-bw@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:31:59 -0400 Subject: [PATCH] Fix url in vault-shim-installer --- vault-shim-installer.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/vault-shim-installer.sh b/vault-shim-installer.sh index a8e1d4f..fda9d5d 100755 --- a/vault-shim-installer.sh +++ b/vault-shim-installer.sh @@ -10,11 +10,9 @@ case "$arch" in aarch64) arch="arm64" ;; esac -echo "Installing vault-shim" +echo "Installing vault-shim version $version" echo "os: $os" echo "arch: $arch" -# purposefully leaving the filename on the tar so that we know which shim was downloaded if we ever have to shell in and diagnose an issue -curl -L "https://github.com/Bandwidth/vault-shim/tarball/v${version}" --output "/usr/local/bin/vault-shim_${os}_${arch}.tar.gz" - +curl -L "https://github.com/Bandwidth/vault-shim/releases/download/v${version}/vault-shim_${os}_${arch}.tar.gz" --output "/usr/local/bin/vault-shim_${os}_${arch}.tar.gz" tar xzf "/usr/local/bin/vault-shim_${os}_${arch}.tar.gz" -C "/usr/local/bin"