You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is about a design aspect of DependentResources. See other issues by related labels.
The goal in nutshell, is that a DependentResource should be implementation should be usable independently of the controller internal. So something like this should be doable:
@ControllerConfigurationpublicclassMyReconcilerimplementsReconciler<MyResource>,
EventSourceInitializer<MyResource> {
// this will be probably KubernetesDependentResource or similarDependentResource<Deployment> dependentResource;
publicMySQLSchemaReconciler(KubernetesClientclient) {
dependentResource = newDependentResource(client, ...)
}
@OverridepublicList<EventSource> prepareEventSources(
returnList.of(dependentResource.initEventSource())
}
@OverridepublicUpdateControl<MyResource> reconcile(MyResourceschema, Contextcontext) {
dependentResource.reconcile(schema,context)
}
Maybe we should differentiate at the end between DependentResource and ManagedDependentResource.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
This issue is about a design aspect of
DependentResources
. See other issues by related labels.The goal in nutshell, is that a
DependentResource
should be implementation should be usable independently of the controller internal. So something like this should be doable:Maybe we should differentiate at the end between DependentResource and ManagedDependentResource.
The text was updated successfully, but these errors were encountered: