Uninstalling Automation assets

Uninstall Automation assets by deleting your AssetRepository custom resource.

Important: Before uninstalling, make sure that all of the manually uploaded assets you would like to keep a copy of have been downloaded to a safe location. Manually uploaded assets will not be recoverable after the uninstall is complete.

Uninstalling can be done by using one of the following:

  • Platform UI

  • OpenShift web console

  • OpenShift CLI

Platform UI

  1. To delete your AssetRepository CR, log in to Platform UI.

    • Click the options menu (3-line icon) in the menu banner, and click Administration > Integration capabilities*.

  2. In the Automation assets table row you need to uninstall, click the overflow menu (three-dot icon).

  3. In the dropdown menu, click Delete.

  4. Enter your Automation assets instance name and click Delete.

Your AssetRepository is uninstalled.

To clean up the PVCs, either use the OpenShift console or CLI. To use the OpenShift console:

  1. In the OpenShift console, expand the Storage section in the navigation bar on the left.

  2. Select PersistentVolumeClaims.

  3. Ensure you have selected the namespace that contains the Automation assets you are uninstalling.

  4. Add a Label filter for app.kubernetes.io/instance=<instance-name>

  5. At the end of the table row for the PVCs, click the overflow menu (three-dot icon), then click Delete PersistentVolumeClaim

  6. Click Delete in the confirmation dialog.

To use the OpenShift CLI:

  1. Run the following command:

oc delete pvc --selector=app.kubernetes.io/component=couchdb,app.kubernetes.io/instance=<instance-name> --namespace=<namespace>

OpenShift web console

  1. To delete your AssetRepository CR using the OpenShift console, navigate to Installed Operators in the OpenShift Console. To get here, expand the Operators section in the navigation bar on the left and select Installed Operators. Ensure you have selected the namespace that contains the Automation assets you are uninstalling.

  2. Click IBM Automation Foundation assets.

  3. Click the Asset Repository tab.

  4. At the end of the Automation assets table row you want to uninstall, click the overflow menu (three-dot icon), then click Delete Asset Repository.

  5. Click Delete in the confirmation dialog.

Your Automation assets is uninstalled.

  1. In the OpenShift console, expand the Storage section in the navigation bar on the left.

  2. Select PersistentVolumeClaims.

  3. Ensure you have selected the namespace that contains the Automation assets you are uninstalling.

  4. Add a Label filter for app.kubernetes.io/instance=<instance-name>

  5. At the end of the table row for the PVCs, click the overflow menu (three-dot icon), then click Delete PersistentVolumeClaim

  6. Click Delete in the confirmation dialog.

OpenShift CLI

  1. To delete your AssetRepository CR using the oc CLI, run the following command:

oc delete assetrepository <instance-name> --namespace=<namespace>

Your Automation assets is uninstalled.

  1. To clean up the PVCs using the oc CLI, run:

oc delete pvc --selector=app.kubernetes.io/component=couchdb,app.kubernetes.io/instance=<instance-name> --namespace=<namespace>