operator-framework/helm-operator-plugins

Support for go/v4-alpha for hybrid plugins.

ryanm101 opened this issue · 1 comments

Trying to build an operator on an M1 Mac.

Seems the hybrid plugin doesnt support the v4 plugin yet.

@ryanm101 Checking the commits, looks like hybrid plugin does support go/v4 (v4-alpha has been deprecated by kubebuilder):

err = scaffold.Execute(
&templates.Main{},
&templates.GoMod{ControllerRuntimeVersion: golangv4.ControllerRuntimeVersion},
&templates.GitIgnore{},
&templates.Watches{},
&rbac.ManagerRole{},
&templates.Makefile{
Image: imageName,
KustomizeVersion: kustomizev2.KustomizeVersion,
HybridOperatorVersion: hybridOperatorVersion,
ControllerToolsVersion: golangv4.ControllerToolsVersion,
ControllerRuntimeVersion: golangv4.ControllerRuntimeVersion,
},
&templates.Dockerfile{},
&templates.DockerIgnore{},
. However, Operator SDK has not bumped the hybrid plugin commit yet to point it to the one that supports this - which is why you had been facing the error. The work on Operator SDK CLI's end to bump the plugin is in progress: operator-framework/operator-sdk#6613. A release after this PR is merged, should fix this issue.