quarkus-operator-sdk
quarkus-operator-sdk copied to clipboard
Augment generated RBACs using information from Event Sources
The problem with the current implementation is that the EventSource implementations are only known at runtime. We could work around the issue by instantiating the Reconciler at build time, construct an EventSourceContext and invoke prepareEventSources on the reconciler but that would only work if the event sources can be instantiated without access to the cluster (or any other "live" resources). It might be best to wait until the work on dependent resources is done because the information that we need for this will be available declaratively.