Chapter 7. Uninstalling CodeReady Workspaces

There is no dedicated function in the deploy.sh script to uninstall CodeReady Workspaces.

However, you can delete a custom resource, which deletes all the associated objects.

Procedure

To delete a custom resource, run the following command:

oc delete checluster/codeready -n $targetNamespace

Here, $targetNamespace is an OpenShift project with deployed CodeReady Workspaces (workspaces is the OpenShift project by default).