squakez commented on code in PR #4942:
URL: https://github.com/apache/camel-k/pull/4942#discussion_r1410234240


##########
pkg/cmd/operator/operator.go:
##########
@@ -188,7 +188,6 @@ func Run(healthPort, monitoringPort int32, leaderElection 
bool, leaderElectionID
        selector := labels.NewSelector().Add(*hasIntegrationLabel)
 
        selectors := map[ctrl.Object]cache.ByObject{
-               &corev1.Pod{}:        {Label: selector},

Review Comment:
   Yeah. Even in this same PR I had to do some magic tricks to have it working, 
ie, watching Knative Service Revisions... at this stage the best option is to 
ask the user to include the label in the template in order to monitor the 
generated Pods. Moving to back to this strategy would simplify that part too.



-- 
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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to