Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions modules/gitops-installing-argocd-agent-by-using-argo-cd-cr.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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: <agent_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]
Expand Down