Skip to content

Commit

Permalink
Merge pull request #12 from Bandwidth/SWI-4080
Browse files Browse the repository at this point in the history
SWI-4080: Fix url in vault-shim-installer
  • Loading branch information
rdinardi-bw authored Oct 7, 2024
2 parents 96b8042 + 9957499 commit 8eee525
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vault-shim-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 8eee525

Please sign in to comment.