Chapter 7. Uninstalling an Operator installation on OpenShift Container Platform
To delete the dynamic plug-ins from your installation, you must edit the ConfigMaps that reference Ansible.
The deployment auto reloads when the ConfigMaps are updated. You do not need to reload the deployment manually.
7.1. Removing the Ansible plug-ins from the ConfigMap Copy linkLink copied to clipboard!
Procedure
-
Open the custom ConfigMap where you referenced the Ansible plug-ins. For this example, the ConfigMap name is
rhaap-dynamic-plugins-config. Locate the dynamic plug-ins in the
plugins:block.-
To disable the plug-ins, update the
disabledattribute totruefor the three plug-ins. To delete the plug-ins, delete the lines that reference the plug-ins from the
plugins:block:Copy to Clipboard Copied! Toggle word wrap Toggle overflow
-
To disable the plug-ins, update the
- Click .
7.2. Removing Ansible Automation Platform and Dev Spaces from the custom Red Hat Developer Hub ConfigMap Copy linkLink copied to clipboard!
Procedure
Open the custom Red Hat Developer Hub ConfigMap where you added configuration for the templates and for connecting to Ansible Automation Platform and Dev Spaces. In this example, the Red Hat Developer Hub ConfigMap name is
app-config-rhdh.Copy to Clipboard Copied! Toggle word wrap Toggle overflow -
Remove the
urlin thelocations:block to delete the templates from the RHDH instance. -
Remove the
ansible:block to delete the Ansible-specific configuration. - Click .
7.3. Uninstalling the sidecar container Copy linkLink copied to clipboard!
To remove the sidecar container for Ansible development tools from the developer-hub pod, you must modify the base ConfigMap for the Red Hat Developer Hub deployment.
Procedure
- In the OpenShift console, select the Topology view.
- Click More actions ⋮ on the developer-hub instance and select Edit backstage to edit the base ConfigMap.
- Select the YAML tab.
In the editing pane, remove the
containersblock for the sidecar container from thespec.deployment.patch.spec.template.specblock:Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Click .