bart-rijnders commented on issue #6616:
URL: https://github.com/apache/camel-k/issues/6616#issuecomment-4428881185

   > Could we make this configurable through labels? Labels and label selectors 
are the standard Kubernetes mechanism for grouping, selecting, and dynamically 
discovering resources. Instead of maintaining a static list of namespaces in 
the operator configuration, the operator could be configured with a namespace 
label selector.
   
   I second this, it would give the highest level of flexibility for teams 
managing an operator _without_ being cluster administrators. For inspiration, 
the [Grafana operator uses this as 
well](https://github.com/grafana/grafana-operator/blob/09826455e8e74f46af6a72861196f6cd848dcb1f/deploy/helm/grafana-operator/values.yaml#L22).
 Here is a link to the [code generating the 
config](https://github.com/grafana/grafana-operator/blob/09826455e8e74f46af6a72861196f6cd848dcb1f/main.go#L477)
   
   
   
   
   


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