Skip to content

Commit 9a66cca

Browse files
authored
Merge pull request #37012 from DebarghoGhosh/document-uninstall-gitops-operator-2911
RHDEVDOCS-2911 - Uninstall GitOps operator
2 parents e973a71 + cf13ff7 commit 9a66cca

File tree

4 files changed

+69
-0
lines changed

4 files changed

+69
-0
lines changed

_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1515,6 +1515,8 @@ Topics:
15151515
File: understanding-openshift-gitops
15161516
- Name: Installing OpenShift GitOps
15171517
File: installing-openshift-gitops
1518+
- Name: Uninstalling OpenShift GitOps
1519+
File: uninstalling-openshift-gitops
15181520
- Name: Configuring Argo CD to recursively sync a Git repository with your application
15191521
Dir: configuring_argo_cd_to_recursively_sync_a_git_repository_with_your_application
15201522
Topics:
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[id="uninstalling-openshift-gitops"]
2+
= Uninstalling OpenShift GitOps
3+
include::modules/common-attributes.adoc[]
4+
include::modules/gitops-document-attributes.adoc[]
5+
:context: uninstalling-openshift-gitops
6+
7+
toc::[]
8+
9+
Uninstalling the GitOps Operator is a two-step process:
10+
11+
. Delete the Argo CD instances that were added under the default namespace of the GitOps Operator.
12+
. Uninstall the GitOps Operator.
13+
14+
Uninstalling only the Operator will not remove the Argo CD instances created.
15+
16+
include::modules/go-deleting-argocd-instance.adoc[leveloffset=+1]
17+
18+
include::modules/go-uninstalling-gitops-operator.adoc[leveloffset=+1]
19+
20+
.Additional Resources
21+
22+
* You can learn more about uninstalling Operators on {product-title} in the xref:../../operators/admin/olm-deleting-operators-from-cluster.adoc#olm-deleting-operators-from-a-cluster[Deleting Operators from a cluster] section.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Module included in the following assemblies:
2+
//
3+
// */gitops/uninstalling-openshift-gitops.adoc
4+
5+
[id='go-deleting-argocd-instance_{context}']
6+
= Deleting the Argo CD instances
7+
8+
Delete the Argo CD instances added to the namespace of the GitOps Operator.
9+
10+
[discrete]
11+
.Procedure
12+
. In the *Terminal* type the following command:
13+
14+
[source,terminal]
15+
----
16+
$ oc delete gitopsservice cluster -n openshift-gitops
17+
----
18+
19+
[NOTE]
20+
====
21+
You cannot delete an Argo CD cluster from the web console UI.
22+
====
23+
24+
After the command runs successfully all the Argo CD instances will be deleted from the `openshift-gitops` namespace.
25+
26+
Delete any other Argo CD instances from other namespaces using the same command:
27+
28+
[source,terminal]
29+
----
30+
$ oc delete gitopsservice cluster -n <namespace>
31+
----
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// Module included in the following assemblies:
2+
//
3+
// */gitops/uninstalling-openshift-gitops.adoc
4+
5+
[id='go-uninstalling-gitops-operator_{context}']
6+
= Uninstalling the GitOps Operator
7+
8+
[discrete]
9+
.Procedure
10+
. From the *Operators* -> *OperatorHub* page, use the *Filter by keyword* box to search for `{gitops-title} Operator` tile.
11+
12+
. Click the *Red Hat OpenShift GitOps Operator* tile. The Operator tile indicates it is installed.
13+
14+
. In the *Red Hat OpenShift GitOps Operator* descriptor page, click *Uninstall*.

0 commit comments

Comments
 (0)