Entity operator is failing to watch multiple namespaces

Solution Verified - Updated -

Issue

  • When I deploy kafka cluster, with the definition for entity operator to watch multiple namespaces, I get the below error.
Failure executing: POST at: https://IP/apis/rbac.authorization.k8s.io/v1/namespaces/ns-1,ns-2/rolebindings. Message: namespaces "ns-1,ns-2" not found. Received status: Status(apiVersion=v1, code=404, details=StatusDetails(causes=[], group=null, kind=namespaces, name=ns-1,ns-2, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=namespaces "ns-1,ns-2" not found, metadata=ListMeta(_continue=null, remainingItemCount=null, resourceVersion=null, selfLink=null, additionalProperties={}), reason=NotFound, status=Failure,
  • where "ns-1" and "ns-2" are the namespaces being watched by entity operator.
  • Also, when I deploy the kafka to watch single namespace individually it works.
  • In Kafka resource yaml, following are the configuration
entityOperator:
    topicOperator: 
      watchedNamespace: ns-1,ns-2
      reconciliationIntervalSeconds: 60
      logging: 
        type: inline
        loggers:
          rootLogger.level: "INFO"
    userOperator: 
      watchedNamespace: ns-1,ns-2
      reconciliationIntervalSeconds: 60
      logging: 
        type: inline
        loggers:
          rootLogger.level: INFO

Environment

  • Red Hat AMQ Streams

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