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
I have a use case where it would be great to have trow (or more) controllers being able to reconcile the same resource type.
Let's imaging we have a ConfigMap and controller X and Y. Depending on the "type" of the ConfigMap we would like to have applied different reconciliation workflows.
Having to squeeze it in a single controller would be pretty complicated and unnecessary. Instead we could just mark the ConfigMap with a proper label and the use labelSelector on the @ControllerConfiguration annotation so that the resource is picked up by correct controller.
Currently it doesn't work:
Caused by: io.javaoperatorsdk.operator.OperatorException: Cannot register controller 'generationrequestreconciler': another controller named 'operationgenerationrequestreconciler' is already registered for resource 'configmaps/v1'
What did you do?
What did you expect to see?
What did you see instead? Under which circumstances?
Environment
qosdk 6.6.0, quarkus: 3.7.0, josdk: 4.7.0
JDK 17
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
I have a use case where it would be great to have trow (or more) controllers being able to reconcile the same resource type.
Let's imaging we have a
ConfigMap
and controller X and Y. Depending on the "type" of theConfigMap
we would like to have applied different reconciliation workflows.Having to squeeze it in a single controller would be pretty complicated and unnecessary. Instead we could just mark the
ConfigMap
with a proper label and the uselabelSelector
on the@ControllerConfiguration
annotation so that the resource is picked up by correct controller.Currently it doesn't work:
What did you do?
What did you expect to see?
What did you see instead? Under which circumstances?
Environment
qosdk 6.6.0, quarkus: 3.7.0, josdk: 4.7.0
JDK 17
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: