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
During a reconcile, I try to access a specific secondary resource. For example, I manage multiple config maps that are all owned by the same primary resource. In the reconcile I would like to access a specific resource that I can name by "namespace" + "name". In v2, there was a ResourceID, which was useable to access the event source cache.
The current possible solution would be:
In case of dependent resource it might still be needed for example to calculate the status. But in case of managed dependent resources the event sources are not accessible. We might want to give access to them through the Context. cc @metacosm
This PR expands on this idea and make it possible event to access additional indexes on event sources: #1378
It might be an option to have a predefined generic Discriminator that just calls the get method with the resource id. Will take a look how it might look like.
Feature Idea
During a reconcile, I try to access a specific secondary resource. For example, I manage multiple config maps that are all owned by the same primary resource. In the reconcile I would like to access a specific resource that I can name by "namespace" + "name". In v2, there was a ResourceID, which was useable to access the event source cache.
The current possible solution would be:
But I'd rather have a more specific access method
The text was updated successfully, but these errors were encountered: