squakez opened a new issue, #6952:
URL: https://github.com/apache/camel-k/issues/6952

   ### Bug description
   
   When we call this func 
https://github.com/apache/camel-k/blob/cb0ad195623dded31300e3dab5afb5ae45fc4fcd/pkg/util/kubernetes/lookup.go#L131
 we assume we have the proper privileges.
   
   `StorageClass` are cluster scoped resource, so it is working only when we 
install the operator in "all namespace" mode. The roles in 
https://github.com/apache/camel-k/blob/cb0ad195623dded31300e3dab5afb5ae45fc4fcd/pkg/resources/config/rbac/descoped/operator-cluster-role.yaml#L156-L162
 should be moved off and executed as cluster role for all profiles in order to 
make it work properly in other installation methodologies.
   
   ### Camel K or runtime version
   
   _No response_


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