Closed roivaz closed 1 year ago
/ok-to-test
LGTM label has been added.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: roivaz
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Generics are supported in go since 1.18, so taking advantage of this I added a small utility function that can return a pointer of any type. This makes it easier to apply the proper types to the API definitions and drops usage of the
"k8s.io/utils/pointer"
package.The function is in
pkg/util/pointer/pointer.go
, all other code changes are to replace the old per type pointer functions by this one./kind feature /priority important-longterm /assign