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


##########
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, it's my main concern as well. However, without that we are not able to 
monitor pods which have not the label (hence, unmanaged). The only possible way 
to bring that filter back and make it work is to ask the user to add a label to 
the resource and to include a label into the template that would generate 
finally the Pods.



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