rodcloutier commented on code in PR #5104:
URL: https://github.com/apache/camel-k/pull/5104#discussion_r1466597168


##########
pkg/cmd/operator/operator.go:
##########
@@ -165,8 +165,8 @@ func Run(healthPort, monitoringPort int32, leaderElection 
bool, leaderElectionID
                // in which case it's not possible to determine a namespace.
                operatorNamespace = watchNamespace
                if operatorNamespace == "" {
-                       leaderElection = false
-                       log.Info("unable to determine namespace for leader 
election")
+                       // We cannot go forward anyhow since later on we need a 
namespace to create resources

Review Comment:
   Done see #5109



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