diff --git a/pkg/get/get_test.go b/pkg/get/get_test.go index 5b85e7a0e..0b0b359cc 100644 --- a/pkg/get/get_test.go +++ b/pkg/get/get_test.go @@ -2460,6 +2460,11 @@ func Test_DownloadJq(t *testing.T) { arch: arch64bit, url: prefix + "jq-osx-amd64", }, + { + os: "darwin", + arch: "arm64", + url: prefix + "jq-osx-amd64", + }, { os: "linux", arch: arch64bit, diff --git a/pkg/get/tools.go b/pkg/get/tools.go index 19e14882d..0f9b00a48 100644 --- a/pkg/get/tools.go +++ b/pkg/get/tools.go @@ -107,6 +107,8 @@ helmfile_{{$os}}_{{$arch}}{{$ext}}`, {{- if eq .Arch "x86_64" -}} {{$arch = "64"}} +{{- else if eq .Arch "arm64" -}} +{{$arch = "64"}} {{- else -}} {{$arch = "32"}} {{- end -}}