The API handling for the declarative
apply feature is currently a single endpoint
that acts as a switch for all registered handlers.
Extending the supported
apiVersions and object
kinds requires manually adding a function
to the set of registered appliers reachable for this single, in-process, handler.
kinds are expected in the foreseeable future.
Instead of using a single
apply API endpoint create more explicit ones.
The exact path is to be defined later but similar to any of:
applyendpoint to proxy proxy to the new endpoints.
replictl applyto use the new endpoints directly.
This new format would allow more flexibility and a more additive & decoupled architecture.