Skip to content

Use the new 'go tool' features to track tool versions (go 1.24) #4412

Open
@schrej

Description

What do you want to happen?

Go 1.24 will introduce a new feature that allows to track tool versions using go.mod: golang/go#48429

It adds a new tool directive to go.mod to specify the versions of tools to use, which can then be used with go tool <name>. We should evaluate whether we can use this new feature to track the various tools that are used by kubebuilder including kustomize and everything in controller-tools instead of the custom logic that's currently implemented in the Makefile.

We'll have to wait until 1.24 is released and adopted of course, so for now this issue primarily serves as a reminder.

Extra Labels

No response

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions