kokuwaio / helm-maven-plugin

Simple plugin to package helm charts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for aarch64 - apple M1 chip

koenverwimp opened this issue · comments

I got the error below on my new Mac with ARM M1 chip.
Would it be possible to support aarch64 in future?

[ERROR] Failed to execute goal com.kiwigrid:helm-maven-plugin:5.9:init (default-init) on project axonserver-docker: Execution default-init of goal com.kiwigrid:helm-maven-plugin:5.9:init failed: Unsupported architecture: aarch64 -> [Help 1]

It looks like I found a workaround that would help you to fix it in code:

  1. set helmVersion to 3.7.1
  2. overwrite the os version to arm64: mvn clean install -Dos.arch=arm64

Could you please add a mapping to "private String getArchitecture()" to map aarch64 to amd64?

Unfortunately setting -Dos.arch=arm64 does not work when used with https://github.com/trustin/os-maven-plugin, that plugin fails with

[ERROR] unknown os.arch: arm64 -> [Help 1]

Released with 6.2.0