Accessing CustomResource Cache from EventSources #666
Labels
devex-epic
eventsources-epic
feature
needs-discussion
Issue needs to be discussed more before working on it
Milestone
Uh oh!
There was an error while loading. Please reload this page.
In event sources there are cases - especially when we want to associate the dependent resource with the main custom resource - when we want to search or have access to information to related custom resource, see:
https://github.com/java-operator-sdk/java-operator-sdk/blob/7eb3aa7f26e72ab59be04d87a8937440935d3945/sample-operators/tomcat-operator/src/main/java/io/javaoperatorsdk/operator/sample/WebappController.java#L45-L47
(In v2 there is better API to access the cache)
Should we support this explicitly like having a way to inject the cache?
Or support an indexing with some additional facilities for eventing?
see: Issues is related to: #665
Note that for example the mentioned Tomcat sample we would need just a index the UID when the Tomcat CR appeared.
The text was updated successfully, but these errors were encountered: