"Forbidden: User cannot create resource in API group at the cluster scope" while deploying operator and applying CRDs in RHOCP4

Solution Verified - Updated -

Issue

  • Users in the group are unable to deploy an Operator due to insufficient permissions for applying Custom Resource Definitions (CRDs), and are getting the following error:

    Error: INSTALLATION FAILED: failed to install CRD <crd_name>: 1 error occurred: 
        * customresourcedefinitions.apiextensions.k8s.io is forbidden: User "<user_name>" cannot create resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content