Red Hat Red Hat OpenShift GitOps uses Argo CD to manage specific cluster-scoped resources, including cluster Operators, optional Operator Lifecycle Manager (OLM) Operators, and user management.
This guide explains how to install the Red Hat Red Hat OpenShift GitOps Operator to an OpenShift Container Platform cluster and logging in to the Argo CD instance.
Access to the OpenShift Container Platform web console.
An account with the cluster-admin
role.
You are logged in to the OpenShift Container Platform cluster as an administrator.
If you have already installed the Community version of the Argo CD Operator, remove the Argo CD Community Operator before you install the Red Hat OpenShift GitOps Operator. |
Open the Administrator perspective of the web console and navigate to Operators → OperatorHub in the menu on the left.
Search for OpenShift GitOps
, click the Red Hat OpenShift GitOps tile, and then click Install.
Red Hat OpenShift GitOps will be installed in all namespaces of the cluster.
After the Red Hat OpenShift GitOps Operator is installed, it automatically sets up a ready-to-use Argo CD instance that is available in the openshift-gitops
namespace, and an Argo CD icon is displayed in the console toolbar.
You can create subsequent Argo CD instances for your applications under your projects.
Red Hat OpenShift GitOps Operator automatically creates a ready-to-use Argo CD instance that is available in the openshift-gitops
namespace.
You have installed the Red Hat OpenShift GitOps Operator in your cluster.
In the Administrator perspective of the web console, navigate to Operators → Installed Operators to verify that the Red Hat OpenShift GitOps Operator is installed.
Navigate to the menu → OpenShift GitOps → Cluster Argo CD. The login page of the Argo CD UI is displayed in a new window.
Obtain the password for the Argo CD instance:
In the left panel of the console, use the perspective switcher to switch to the Developer perspective.
Use the Project drop-down list and select the openshift-gitops
project.
Use the left navigation panel to navigate to the secrets page.
Select the openshift-gitops-cluster instance to display the password.
Copy the password.
To login with your OpenShift Container Platform credentials, select the |
Use this password and admin
as the username to log in to the Argo CD UI in the new window.
You cannot create two Argo CD CRs in the same namespace. |