Auto-creating namespace in GitOps ArgoCD is not working due to a forbidden error in RHOCP 4

Solution Verified - Updated -

Issue

  • "Forbidden" errors are occurring and preventing the serviceaccount from accessing the designated namespace.
  • This issue is hindering the ability of users to utilize the automatic namespace creation and application deployment functionalities of Argo CD.
  • The option of "AUTO-CREATE NAMESPACE" is not working as expected.

"AUTO-CREATE NAMESPACE" option on the ArgoCD web console.
"AUTO-CREATE NAMESPACE" option on the ArgoCD web console.

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