Macpro M1 failed to create API: unable to run post-scaffold tasks of "base.go.kubebuilder.io/v3": exit status 2 #2866
-
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @shumintao, Apple Silicon (darwin/arm64) is supported using the go/v4-alpha plugin which provides support for this platform. kubebuilder init --domain my.domain --repo my.domain/guestbook --plugins=go/v4-alpha This info is in the readme and in the quick start already, |
Beta Was this translation helpful? Give feedback.
-
Closing since it is answered. |
Beta Was this translation helpful? Give feedback.
Hi @shumintao,
Apple Silicon (darwin/arm64) is supported using the go/v4-alpha plugin which provides support for this platform.
kubebuilder init --domain my.domain --repo my.domain/guestbook --plugins=go/v4-alpha
Note: The go/v4-alpha plugin is an unstable version and can have breaking changes in future releases. The previous kustomize version (v3.Y.Z) used in the go/v3 has no available binaries for this platform kubernetes-sigs/kustomize#4612 Because of this, we cannot support this darwin/arm64 on the stable scaffold done by default with the Kubebuilder with the go/v3 plugin.
This info is in the readme and in the quick start already,