Removing GitOps
Red Hat OpenShift GitOps 1.21
Removing OpenShift GitOps Operator from your cluster
Abstract
This document provides instructions for deleting the Argo CD instances added to the default namespace of the OpenShift GitOps Operator. It also discusses how to remove the OpenShift GitOps Operator from your cluster.
Chapter 1. Uninstalling Red Hat OpenShift GitOps
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
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-gitops
NoteYou 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
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.
1.3. Additional resources
Legal Notice
Copyright © Red Hat.
Except as otherwise noted below, the text of and illustrations in this documentation are licensed by Red Hat under the Creative Commons Attribution–Share Alike 3.0 Unported license . If you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, the Red Hat logo, JBoss, Hibernate, and RHCE are trademarks or registered trademarks of Red Hat, LLC. or its subsidiaries in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
XFS is a trademark or registered trademark of Hewlett Packard Enterprise Development LP or its subsidiaries in the United States and other countries.
The OpenStack® Word Mark and OpenStack logo are trademarks or registered trademarks of the Linux Foundation, used under license.
All other trademarks are the property of their respective owners.