Uninstalling the IBM RPA operator
Learn step by step how to uninstall the IBM RPA operator.
Before you begin
- You must have IBM RPA operator and operand installed.
Procedure
Use the following steps to perform a complete uninstall of the IBM RPA operator using the CLI:
-
Delete the IBM RPA instance.
oc delete roboticprocessautomation -n ${RPA_PROJECT} --all
Where
${RPA_PROJECT}
is the OpenShift project where IBM RPA is installed. -
Delete the IBM RPA operator.
oc delete subscription --all -n ${RPA_PROJECT}
-
Delete the Dependent operators.
oc delete csv --all -n ${RPA_PROJECT}
This will delete the following operators which were required to run IBM RPA:
- IBM Cloud Pak Foundational Services Operator
- IBM Automation Foundation Core Operator
- IBM Operator for Redis
- IBM MQ Operator
After previous steps there should no longer be any pods running in your IBM RPA project.
-
Delete the operator group.
oc delete og rpa-group -n ${RPA_PROJECT}
-
Delete the persistent volume claims.
oc delete PersistentVolumeClaim --all -n ${RPA_PROJECT}
-
Delete the following secrets which were created when setting up IBM RPA and referenced in the custom resource:
oc delete secret ${rpa-owner} -n ${RPA_PROJECT} oc delete secret ${rpa-smtp} -n ${RPA_PROJECT} oc delete secret ${rpa-db-auth} -n ${RPA_PROJECT}
-
Optional: Delete your database which was connected to IBM RPA.
If you no longer require IBM Common services you can delete them by following the instructions on the IBM Cloud Pak foundational services documentation.
Once these steps are completed you should be able to delete the OpenShift project where you installed IBM RPA.