Skip to content

Commit cf13ff7

Browse files
committed
uninstall gitops operator document created
made review changes and added in topic.yaml fixed build error fixed build error1 file name changed made review changes made review changes
1 parent 0eaafc3 commit cf13ff7

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
@@ -1491,6 +1491,8 @@ Topics:
14911491
File: understanding-openshift-gitops
14921492
- Name: Installing OpenShift GitOps
14931493
File: installing-openshift-gitops
1494+
- Name: Uninstalling OpenShift GitOps
1495+
File: uninstalling-openshift-gitops
14941496
- Name: Configuring Argo CD to recursively sync a Git repository with your application
14951497
Dir: configuring_argo_cd_to_recursively_sync_a_git_repository_with_your_application
14961498
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)