Skip to content

Commit

Permalink
Fix url in vault-shim-installer
Browse files Browse the repository at this point in the history
  • Loading branch information
rdinardi-bw committed Oct 7, 2024
1 parent 83fa123 commit d69a254
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 d69a254

Please sign in to comment.