×

Uninstalling the Red Hat OpenShift GitOps Operator is a two-step process:

  1. Delete the Argo CD instances that were added under the default namespace of the Red Hat OpenShift GitOps Operator.

  2. Uninstall the Red Hat OpenShift GitOps Operator.

Uninstalling only the Operator will not remove the Argo CD instances created.

Deleting the Argo CD instances

Delete the Argo CD instances added to the namespace of the GitOps Operator.

Procedure
  1. In the Terminal type the following command:

$ oc delete gitopsservice cluster -n openshift-gitops

You cannot delete an Argo CD cluster from the web console UI.

After the command runs successfully all the Argo CD instances will be deleted from the openshift-gitops namespace.

Delete any other Argo CD instances from other namespaces using the same command:

$ oc delete gitopsservice cluster -n <namespace>

Uninstalling the GitOps Operator

You can uninstall Red Hat OpenShift GitOps Operator from the OperatorHub by using the web console.

Procedure
  1. From the OperatorsOperatorHub page, use the Filter by keyword box to search for Red Hat OpenShift GitOps tile.

  2. Click the Red Hat OpenShift GitOps tile. The Operator tile indicates it is installed.

  3. In the Red Hat OpenShift GitOps descriptor page, click Uninstall.

Additional resources