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


##########
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:
   This was a conscious decision made a while ago by @astefanutti to simplify 
how we monitor workload regardless of how they have been created (Deployment, 
StatefulSet, Knative Service, Job, etc) so I guess removing it would bring back 
the complexity we had in the past.
   
   Also we use pods to grab additional information through the health endpoints.
   
   So I'd suggest so sync up with him



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to