-
Notifications
You must be signed in to change notification settings - Fork 219
DependentResource CDI awareness #1038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes, the resource type is a problem that I haven't gotten around to work on. For the |
Yep, but without a CDI aware DependentResourceManager, you can't use annotation. |
Yes, what I'm considering is delegating the actual |
What should the default CDI scope be for the dependents? I'm leaning on |
Another question is how do you distinguish between dependents of the same type (e.g. your operator needs to have two dependents of type |
That's fine for me, there isn't much other choice to be used. There isn't such a thing like PerReconciliation scope.
Good question, I have exactly the same one trying to add hashmap to the |
Following up #1043, there is another class type issue in |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stalled for 14 days with no activity. |
I think JOSDK will need some kind of support for proper integration with CDI in Quarkus.
Actually, I find out :
KubernetesDependentResource::resourceType
callsUtils::getFirstTypeArgumentFromExtendedClass
which is not aware of proxy class. I have done an ugly fix but there is sure something better to do test(mysql-schema): refactor with standalone dependent resource quarkiverse/quarkus-operator-sdk#267 (comment)DependentResourceManager::createAndConfigureFrom
use reflection to create instance of DependentResourceSpec. As such, it is not possible to have bean injection in Quarkus for DependentResource.The text was updated successfully, but these errors were encountered: