File tree Expand file tree Collapse file tree 4 files changed +69
-0
lines changed
Expand file tree Collapse file tree 4 files changed +69
-0
lines changed Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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+ ----
Original file line number Diff line number Diff line change 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*.
You can’t perform that action at this time.
0 commit comments