astefanutti commented on code in PR #3197:
URL: https://github.com/apache/camel-k/pull/3197#discussion_r849215669


##########
pkg/util/olm/operator.go:
##########
@@ -122,7 +123,7 @@ func HasPermissionToInstall(ctx context.Context, client 
client.Client, namespace
        }
 
        if !global {
-               if ok, err := kubernetes.CheckPermission(ctx, client, 
operatorsv1.GroupName, "operatorgroups", namespace, options.Package, "list"); 
err != nil {

Review Comment:
   Maybe `operatorsv1.GroupVersion.Group`, or use `operators.GroupName` also 
for the v1alpha1 APIs above for consistency?



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