Use the new 'go tool' features to track tool versions (go 1.24) #4412
Open
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