Skip to content

suport kubebuilder go/v4 #6577

Closed
Closed
@andreish

Description

@andreish

Feature Request

Describe the problem you need a feature to resolve.

$go version 
go version go1.21.1 linux/amd64


$operator-sdk init --domain=example.com --owner=me --verbose
$kubebuilder edit --multiversion=true
...
[Deprecation Notice] This version is deprecated.The `go/v3` cannot scaffold projects using kustomize versions v4x+ and cannot fully support Kubernetes 1.25+.It is recommended to upgrade your project to the latest versions available (go/v4).Please, check the migration guide to learn how to upgrade your project
...
$ kubebuilder version 
Version: main.version{KubeBuilderVersion:"3.12.0", KubernetesVendor:"unknown", GitCommit:"b48f95cd5384eadcdfd02a47a02910f72ddc7ea8", BuildDate:"2023-09-05T19:22:51Z", GoOs:"linux", GoArch:"amd64"}

$ operator-sdk version 
operator-sdk version: "v1.31.0", commit: "e67da35ef4fff3e471a208904b2a142b27ae32b1", kubernetes version: "v1.26.0", go version: "go1.20.6", GOOS: "linux", GOARCH: "amd64"

Describe the solution you'd like.

be able to use newer tooling and code layout with no deprecation and error by default .
/language go

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions