Skip to content

Commit

Permalink
Install script - don't pull amd64 bin on arm64 (#10233)
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Leggett <[email protected]>
  • Loading branch information
bleggett authored Oct 25, 2024
1 parent 761db93 commit cbc3c7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog/v1.18.0-beta29/install-script-arm64.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
changelog:
- type: NON_USER_FACING
description: Fix install script to pull correct `glooctl` binaries by arch
8 changes: 6 additions & 2 deletions projects/gloo/cli/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ else
OS=linux
fi

# TODO (celsosantos): Add ARM64 binaries support
GOARCH=amd64
arch=$(uname -m)
if [ "$arch" = "aarch64" ] || [ "$arch" = "arm64" ]; then
GOARCH=arm64
else
GOARCH=amd64
fi

for gloo_version in $GLOO_VERSIONS; do

Expand Down

0 comments on commit cbc3c7d

Please sign in to comment.