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]