You can uninstall {project-first} from the command line interface (CLI).
Note
|
This action does not remove resources managed by the {project-short} Operator, including custom resource definitions (CRDs) and custom resources (CRs). To remove these after uninstalling the {project-short} Operator, you might need to manually delete the {project-short} Operator CRDs. |
-
You must be logged in as a user with
cluster-admin
privileges.
-
Delete the
forklift
controller by running the following command:$ oc delete ForkliftController --all -n openshift-mtv
-
Delete the subscription to the {project-short} Operator by running the following command:
$ oc get subscription -o name|grep 'mtv-operator'| xargs oc delete
-
Delete the
clusterserviceversion
for the {project-short} Operator by running the following command:$ oc get clusterserviceversion -o name|grep 'mtv-operator'| xargs oc delete
-
Delete the plugin console CR by running the following command:
$ oc delete ConsolePlugin forklift-console-plugin
-
Optional: Delete the custom resource definitions (CRDs) by running the following command:
{oc} get crd -o name | grep 'forklift.konveyor.io' | xargs {oc} delete
-
Optional: Perform cleanup by deleting the {project-short} project by running the following command:
oc delete project openshift-mtv