Uninstalling on OpenShift
Steps to uninstall the Disaster Recovery Operator on OpenShift
Process
1. Delete Operator objects
Delete the resources in the destination cluster:
oc delete recoveryexecutionjobs -A --all
Delete the recovery plans in the management cluster:
oc delete recoveryplans -A --all
Delete the managed clusters and recovery buckets in the management cluster:
oc delete managedclusters,recoverybuckets -A --all
2. Remove the operator
Delete the operator:
oc -n astronetes-disaster-recovery-operator delete -f https://astronetes.io/deploy/disaster-recovery-operator/v0.11.0/operator-openshift.yaml
Delete the CRDs:
oc delete -f https://astronetes.io/deploy/disaster-recovery-operator/v0.11.0/crds.yaml
3. Remove registry credentials
Delete the Secret that stores the credentials to the AstroKube image registry:
oc -n astronetes-disaster-recovery-operator delete -f pull-secret.yaml
4. Remove license key
Delete the Secret that stores the license key:
oc -n astronetes-disaster-recovery-operator delete -f license-key.yaml