Removing GitOps
Removing OpenShift GitOps Operator from your cluster
Abstract
Chapter 1. Uninstalling Red Hat OpenShift GitOps Copy linkLink copied to clipboard!
Uninstalling the Red Hat OpenShift GitOps Operator is a two-step process:
-
Delete the Argo CD instances from the
openshift-gitopsnamespace and any other namespaces where they were created. - Uninstall the Red Hat OpenShift GitOps Operator.
Uninstalling only the Operator will not remove the Argo CD instances created.
1.1. Deleting the Argo CD instances Copy linkLink copied to clipboard!
Delete the Argo CD instances added to the namespace of the GitOps Operator.
Procedure
In the terminal, run the following command:
$ oc delete gitopsservice cluster -n openshift-gitopsNoteYou cannot delete an Argo CD instance from the web console UI.
After the command runs successfully, the Argo CD instances will be deleted from the
openshift-gitopsnamespace.Delete any other Argo CD instances from other namespaces using the same command:
$ oc delete gitopsservice cluster -n <namespace>
1.2. Uninstalling the GitOps Operator Copy linkLink copied to clipboard!
You can uninstall the Red Hat OpenShift GitOps Operator from the OperatorHub by using the web console.
Procedure
-
From the Operators → OperatorHub page, use the Filter by keyword box to search for
Red Hat OpenShift GitOpstile. - Click the Red Hat OpenShift GitOps tile. The Operator tile indicates it is installed.
- In the Red Hat OpenShift GitOps descriptor page, click Uninstall.