squakez opened a new issue, #5836: URL: https://github.com/apache/camel-k/issues/5836
### What happened? It's a minor issue, but it deserves some attention to clear the log traces. When an old operator is removed (still CRDs are kept) and a new one is installed, at startup, the new operator complains about some reconciliation: ``` camel-k-operator-5b686db99f-qbcwz camel-k-operator {"level":"info","ts":"2024-09-10T08:42:29Z","msg":"Starting workers","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","worker count":1} camel-k-operator-5b686db99f-qbcwz camel-k-operator {"level":"error","ts":"2024-09-10T08:42:29Z","msg":"Reconciler error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"timer-source-to-log-sink","namespace":"default"},"namespace":"default","name":"timer-source-to-log-sink","reconcileID":"5085056b-d811-425d-9a81-2b50865002fa","error":"type assertion failed, not a Deployment: <nil>","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.17.5/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.17.5/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.17.5/pkg/internal/controller/controller.go:227"} ``` This is about an existing Integration which was running and it is eventually taken by the operator and reconciled correctly. ### Steps to reproduce _No response_ ### Relevant log output _No response_ ### Camel K version _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org