helm-diff icon indicating copy to clipboard operation
helm-diff copied to clipboard

Support of platform ARM_64

Open pburgisser opened this issue 5 years ago • 8 comments

When trying to install the plugin on ARM_64 computer (MacBook Pro M1/Apple Silicon) I wasn't able to download the plugin due to missing binary for the platform. I had to compile it manually following the given instructions.

pburgisser avatar Aug 31 '21 05:08 pburgisser

Any updates? Can't use it on M1:

maxpain@Maksims-MacBook-Pro ~ % helm plugin install https://github.com/databus23/helm-diff
No prebuild binary for macos-arm64.
Failed to install helm-diff
	For support, go to https://github.com/databus23/helm-diff.
Error: plugin install hook for "diff" exited with error

maxpain avatar Oct 01 '21 12:10 maxpain

+1

jaronschulz avatar Oct 19 '21 12:10 jaronschulz

+1

abrahamlifebit avatar Nov 09 '21 14:11 abrahamlifebit

+1

vtj-mizuno avatar Nov 10 '21 08:11 vtj-mizuno

+1

sternby avatar Nov 10 '21 13:11 sternby

Temp Workaround

wget https://github.com/databus23/helm-diff/releases/download/v3.1.3/helm-diff-macos.tgz
tar -xzvf helm-diff-macos.tgz
mv diff ~/Library/helm/plugins/helm-diff 

sidharthv96 avatar Nov 16 '21 18:11 sidharthv96

If you need a native build:

mkdir -p ~/Library/helm/plugins/helm-diff/bin
wget -O ~/Library/helm/plugins/helm-diff/plugin.yaml https://raw.githubusercontent.com/databus23/helm-diff/master/plugin.yaml
go install -ldflags "-s -w" github.com/databus23/helm-diff@latest
mv $(go env GOPATH)/bin/helm-diff ~/Library/helm/plugins/helm-diff/bin/diff

n0madic avatar Nov 19 '21 09:11 n0madic

It should be supported since 3.2.0. Closing as resolved. Thanks to everyone who contributed to various install script enhancements!

mumoshu avatar Jan 09 '22 05:01 mumoshu