Closed justinsb closed 2 years ago
I'm curious how much this could be solved in k/k directly, since that could more useful in general. Thanks!
Yes - absolutely - we should use the subprojects... let's prove that it works in k-sigs, then promote it to k/k (e.g. client-go). If we need something from e.g. the apiserver to improve things, we'll figure that out here!
Thanks, /lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: apelisse, justinsb
The full list of commands accepted by this bot can be found here.
The pull request process is described here
The default RESTMappers are very optimized around the kubectl use-case, where most of the time controllers only need to map GVK -> GVR to support an apply operation.
Start adding a RESTMapper optimized around this specific use-case.