Closed
Description
DependentResource creates event sources, the problem is when there are dependent resource of same type and want to share event source. In this case, currently the event source needs to be explicitly created (not by the DR), and set to the dependent.
One alternative would be to handle this by name, so that the informer created by a dependent resource would have the same name as an already registered event source (from other DR) , the controller would just set the already existing ES to the DR.
The downside of this is that, if those informers would have different configuration this would not be detected.
This is especially important so we able to have more dependent resources with activation condition with same type sharing ES.