Configure Argo CD¶
Configure your Argo CD instance for team access and Git repositories after installation.
Prerequisites¶
- Argo CD installed using the Install Argo CD guide
- Access to your OpenShift cluster
Configure User Access¶
You will need to configure RBAC policies to give yourself and your team access to the default Argo CD instance.
Update RBAC Policy¶
-
Open Argo CD configuration - Go to Operators → Installed Operators
-
Click Red Hat OpenShift GitOps
-
Click the Argo CD tab
-
Click on the
openshift-gitopsinstance -
Click the YAML tab
-
Find your team groups - Navigate to User Management → Groups and look for groups that match your team structure (groups are automatically synchronized from Developer Platform)
-
Update RBAC permissions - Find the
rbacsection and modify it to add your teams: -
Save the changes - Click Save at the bottom of the YAML editor
Configure Git Repositories¶
To connect Argo CD to your Git repositories and configure authentication for private repositories, use credential templates which allow you to define repository credentials once and reuse them across multiple repositories:
Credential Templates - Argo CD Documentation
Access Argo CD¶
Now that user access is configured, you can access the Argo CD instance:
- Click the Application Launcher (9-dot grid icon) in the top-right corner of the OpenShift Console
- Click on Cluster Argo CD
- On the Argo CD login page, click Login via OpenShift
Next Steps¶
With Argo CD configured, you can now:
- Deploy with GitOps - Create and deploy applications