ServiceAccount is unable to get resources from another Namespace

Solution Unverified - Updated -

Issue

  • Cannot deploy the application due to the error message below:
User "system:serviceaccount:example-nonprod:example-follower" cannot get resource "pods" in API group "" in the namespace "devops-test-nonprod"
  • Need to know the way to map ServiceAccount to access resources from other namespaces.

Environment

  • Red Hat OpenShift Container Platform 4.8.

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