Open chrischdi opened 3 months ago
@chrischdi: This request has been marked as needing help from a contributor.
Please ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met.
If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-help
command.
Note: It's enough to do this only in cases where we are actually using the types (vs. just using client.Object).
One example would be: https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/blob/204790fdf003ddd714537f3e7a47b82c4335c083/controllers/vmware/vspherecluster_reconciler.go#L338 Here we are actually using VSphereMachine, there are also cases where we just use client.Object, in these cases there would be no benefit to moving to generics
/kind cleanup /help
Describe the solution you'd like [A clear and concise description of what you want to happen.]
When using the builder from cotnroller runtime (Setup functions for
AddToManager
) we should migrate to use generics.Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Follow-up from https://github.com/kubernetes-sigs/cluster-api-provider-vsphere/pull/3146#discussion_r1713598349
Environment:
kubectl version
):/etc/os-release
):