Tearing down the GitOps ZTP pipeline
You can remove the ArgoCD pipeline and all generated GitOps Zero Touch Provisioning (ZTP) artifacts.
Prerequisites
-
You have installed the OpenShift CLI (
oc). -
You have logged in to the hub cluster as a user with
cluster-adminprivileges.
Procedure
-
Detach all clusters from Red Hat Advanced Cluster Management (RHACM) on the hub cluster.
-
Delete the
kustomization.yamlfile in thedeploymentdirectory using the following command:$ oc delete -k out/argocd/deployment -
Commit and push your changes to the site repository.