squakez opened a new issue, #5271:
URL: https://github.com/apache/camel-k/issues/5271

   ### What happened?
   
   When we upgrade from a version to the most recent one of the operator, for 
some reason, the new operator Pod shows error traces like these ones:
   ```
   camel-k-operator-5cdfc89cd8-fhnqf camel-k-operator 
{"level":"error","ts":"2024-03-22T10:59:53Z","msg":"Reconciler 
error","controller":"integration-controller","controllerGroup":"camel.apache.org","controllerKind":"Integration","Integration":{"name":"test","namespace":"default"},"namespace":"default","name":"test","reconcileID":"c2a31699-dc9f-4406-ab9b-959af392e4c1","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.15.2/pkg/internal/controller/controller.go:324\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:265\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.15.2/pkg/internal/controller/controller.go:226"}
   ```
   It seems it cannot do monitoring to the existing Integrations. It does not 
seems to affect the normal operation, as after the startup phase of the 
operator, everything works as expected. However, it should not either log those 
error traces.
   
   ### 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

Reply via email to