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 signle
apply API endpoint create more explict ones.
The exact path is to be defined later but similar to any of:
apply endpoint to proxy proxy to the new endpoints.
replictl apply to use the new endpoints directly.
This new format would allow more flexibility and a more additive & decoupled architecture.