Skip to content

Build for Apple Silicon (macos-arm64) #262

Closed

Description

@njoniec

Plugin install fails on ARM-based Macs. I was able to build from source and copy the executable to my helm plugins directory.

I am using helm 3.5.2 and helmfile 0.138 from Homebrew.

nick@macbook-air ~ % 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

Activity

  1. f3lan commented on Mar 7, 2021

    @f3lan

    Hi @njoniec

    Maybe you can try this fix an check out if it works on your machine too:

    #264

    Cheers,
    f3lan

  2. zephyrpathsofglory commented on Mar 9, 2021

    @zephyrpathsofglory

    Hi @njoniec

    Maybe you can try this fix an check out if it works on your machine too:

    #264

    Cheers,
    f3lan

    how to do it? Check it out and build it locally?

  3. atassis commented on Mar 9, 2021

    @atassis
    Contributor

    @nightofmind install plugin locally, checkout the PR, and then in plugin directory run helm plugin install .
    For a record: https://helm.sh/docs/topics/plugins/#installing-a-plugin

  4. f3lan commented on Mar 9, 2021

    @f3lan

    @njoniec
    Alternatively you can install the plugin via the url: helm plugin install https://github.com/f3lan/helm-diff.

    I did the small fix on my forked master too.

    But the solution of @atassis is perfectly fine as well.

  5. zephyrpathsofglory commented on Mar 10, 2021

    @zephyrpathsofglory

    @nightofmind install plugin locally, checkout the PR, and then in plugin directory run helm plugin install .
    For a record: helm.sh/docs/topics/plugins/#installing-a-plugin

    yes, it works. thanks, @f3lan @atassis

  6. stale commented on Jun 9, 2021

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  7. kholisrag commented on Jun 26, 2021

    @kholisrag

    anyway I manage to install helm-diff plugins in the m1 macos-arm64 with :

    brew install helm
    gh repo clone databus23/helm-diff
    cd helm-diff
    
    

    change install-binary.sh line 58 to

      supported="linux-amd64\nfreebsd-amd64\nmacos-amd64\nmacos-arm64\nwindows-amd64"
    
    go mod vendor
    make install/helm3
    
  8. rafilkmp3 commented on Jul 19, 2021

    @rafilkmp3

    bump

  9. atassis commented on Jul 19, 2021

    @atassis
    Contributor

    Thinking about making a fork it finding a proper one, though u don't know golang 👀 but able to support open source

  10. ypicard commented on Oct 5, 2021

    @ypicard

    Any news on this?

  11. jaronschulz commented on Oct 19, 2021

    @jaronschulz

    +1

  12. sp1ke1980 commented on Oct 25, 2021

    @sp1ke1980

    +1

  13. sp1ke1980 commented on Oct 25, 2021

    @sp1ke1980

    I've compiled helm-diff using the approach mentioned above, but diff can't show colored output. Possible anyone meets with this and know a solution?

  14. kholisrag commented on Nov 4, 2021

    @kholisrag

    I've compiled helm-diff using the approach mentioned above, but diff can't show colored output. Possible anyone meets with this and know a solution?

    What go version did you use? $GOPATH already correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions