Skip to content

Support for go/v4-alpha for hybrid plugins.  #246

Closed as not planned
Closed as not planned

Description

@ryanm101

Trying to build an operator on an M1 Mac.

Seems the hybrid plugin doesnt support the v4 plugin yet.

Activity

  1. varshaprasad96 commented on Dec 5, 2023

    @varshaprasad96
    Member

    @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.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions