ArgoCD sync task is failing with an error Namespace "xxx" for Service "xxx" is not managed

Solution Verified - Updated -

Issue

  • Applying a resource to the cluster using Argo CD throws an error

    Cluster level Namespace "XYZ" can not be managed when in namespaced mode.
    

Environment

  • OpenShift Container Platform (OCP) 4.x
  • Red Hat OpenShift GitOps Operator

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