-
Notifications
You must be signed in to change notification settings - Fork 218
Misleading MissingCRDException exception #552
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
lburgazzoli
added a commit
to lburgazzoli/java-operator-sdk
that referenced
this issue
Sep 22, 2021
lburgazzoli
added a commit
to lburgazzoli/java-operator-sdk
that referenced
this issue
Sep 22, 2021
metacosm
added a commit
that referenced
this issue
Sep 23, 2021
Note that this relies on fabric8io/kubernetes-client#3492 so won't build until this PR is merged and available in a release. Fixes #552
metacosm
added a commit
that referenced
this issue
Sep 23, 2021
metacosm
added a commit
that referenced
this issue
Sep 23, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If an event source fails to start and the error code is 404, the
DefaultEventSourceManager
wraps it with aMissingCRDException
[1] which theConfiguredController
re-wrap and include details about the CRD of the controller resulting in a misleading message as the exception will report that the CRD of the controller is missing but it may not be the case.[1] https://github.com/java-operator-sdk/java-operator-sdk/blob/master/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/event/DefaultEventSourceManager.java#L92-L97
[2] https://github.com/java-operator-sdk/java-operator-sdk/blob/master/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/ConfiguredController.java#L177-L182
The text was updated successfully, but these errors were encountered: