Unable to install AMQ Stream Operator as a non-cluster administrator in RHOCP 4

Solution Verified - Updated -

Issue

  • Unable to install AMQ Stream Operator as a non-cluster administrator even after following Official Document

  • Encountered the following errors

 error creating clusterrole strimzi-kafka-broker: clusterroles.rbac.authorization.k8s.io is forbidden: User "system:serviceaccount:scoped:scoped" cannot create resource "clusterroles" in API group "rbac.authorization.k8s.io" at the cluster scope.
error creating clusterrole strimzi-entity-operator: clusterroles.rbac.authorization.k8s.io "strimzi-entity-operator" is forbidden: user "system:serviceaccount:scoped:scoped" (groups=["system:serviceaccounts" "system:serviceaccounts:scoped" "system:authenticated"]) is attempting to grant RBAC permissions not currently held:
      {APIGroups:[""], Resources:["events"], Verbs:["create"]}
      {APIGroups:[""], Resources:["secrets"], Verbs:["get" "list" "watch" "create" "delete" "patch" "update"]}
      {APIGroups:["kafka.strimzi.io"], Resources:["kafkatopics"], Verbs:["get" "list" "watch" "create" "patch" "update" "delete"]}
      {APIGroups:["kafka.strimzi.io"], Resources:["kafkatopics/status"], Verbs:["get" "list" "watch" "create" "patch" "update" "delete"]}
      {APIGroups:["kafka.strimzi.io"], Resources:["kafkausers"], Verbs:["get" "list" "watch" "create" "patch" "update" "delete"]}
      {APIGroups:["kafka.strimzi.io"], Resources:["kafkausers/status"], Verbs:["get" "list" "watch" "create" "patch" "update" "delete"]}

Environment

  • Red Hat OpenShift Container Platform
    • 4.x

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