From c65d9ef2d8c9a8b60de8130e57c1a3f1556dba6b Mon Sep 17 00:00:00 2001 From: Dhruv Soni Date: Fri, 19 Jun 2026 17:24:03 +0530 Subject: [PATCH] RHDEVDOCS-7668: Adding a missing step for Autonomous mode --- ...ling-argocd-agent-by-using-argo-cd-cr.adoc | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/modules/gitops-installing-argocd-agent-by-using-argo-cd-cr.adoc b/modules/gitops-installing-argocd-agent-by-using-argo-cd-cr.adoc index 796b49ebb7b4..3937586f111c 100644 --- a/modules/gitops-installing-argocd-agent-by-using-argo-cd-cr.adoc +++ b/modules/gitops-installing-argocd-agent-by-using-argo-cd-cr.adoc @@ -89,6 +89,29 @@ where: The Argo CD custom resource must be installed as a *cluster-scoped* Argo CD instance. For more information, see the _Additional Resources_ section for how to install a cluster-scoped Argo CD instance. ==== +.. If you use the *Autonomous* agent mode, you must create an `AppProject` in the agent namespace. ++ +[source,yaml] +---- +apiVersion: argoproj.io/v1alpha1 +kind: AppProject +metadata: + name: default + namespace: +spec: + clusterResourceWhitelist: + - group: '*' + kind: '*' + destinations: + - name: '*' + namespace: '*' + server: '*' + sourceRepos: + - '*' +---- ++ +For more information, see the _Additional Resources_ section, which includes the upstream documentation link on creating `AppProject` resources in Agents. + . Apply the Argo CD custom resource to the spoke cluster by running the following command: + [source,terminal]