jlewi / hydros

hydros automates hydrating and committing configuration
Apache License 2.0
4 stars 0 forks source link

Controllers have inconsistent semantics #90

Open jlewi opened 5 months ago

jlewi commented 5 months ago

Our controllers have inconsistent semantics

Some our capable of handling multiple requests and some are specific resources. e.g. some take the resource to sync as part of the New method and some take it as part of the reconciler. We should probably standardize that.

I think controllers should be capable of handling multiple resources. It can then be an internal implementation detail about how individual resources get configured.

jlewi commented 5 months ago

How should we normalize semantics around periodic reconciliation?