Chapter 7. Uninstalling the Ansible plug-ins from a Helm installation on OpenShift Container Platform
To uninstall the Ansible plug-ins, you must remove any software templates that use the ansible:content:create
action from Red Hat Developer Hub, and remove the plug-ins configuration from the Helm chart in OpenShift.
7.1. Uninstalling a Helm chart installation
Procedure
-
In Red Hat Developer Hub, remove any software templates that use the
ansible:content:create
action. -
In the OpenShift Developer UI, navigate to
. Remove the Ansible plug-ins configuration under the
plugins
section.... global: ... plugins: - disabled: false integrity: <SHA512 value> package: 'http://plugin-registry:8080/ansible-plugin-backstage-rhaap-dynamic-x.y.z.tgz' pluginConfig: dynamicPlugins: frontend: ansible.plugin-backstage-rhaap: appIcons: - importName: AnsibleLogo name: AnsibleLogo dynamicRoutes: - importName: AnsiblePage menuItem: icon: AnsibleLogo text: Ansible path: /ansible - disabled: false integrity: <SHA512 value> package: >- http://plugin-registry:8080/ansible-plugin-scaffolder-backend-module-backstage-rhaap-dynamic-x.y.z.tgz pluginConfig: dynamicPlugins: backend: ansible.plugin-scaffolder-backend-module-backstage-rhaap: null - disabled: false integrity: <SHA512 value> package: >- http://plugin-registry:8080/ansible-plugin-backstage-rhaap-backend-dynamic-x.y.z.tgz pluginConfig: dynamicPlugins: backend: ansible.plugin-backstage-rhaap-backend: null
Remove the
extraContainers
section.upstream: backstage: | ... extraContainers: - command: - adt - server image: >- registry.redhat.io/ansible-automation-platform-25/ansible-dev-tools-rhel8:latest imagePullPolicy: IfNotPresent name: ansible-devtools-server ports: - containerPort: 8000 image: pullPolicy: Always pullSecrets: - ... - rhdh-secret-registry ...
- Click .
-
Edit your custom Red Hat Developer Hub config map, for example
app-config-rhdh
. Remove the
ansible
section.data: app-config-rhdh.yaml: | ... ansible: analytics: enabled: true devSpaces: baseUrl: '<https://MyOwnDevSpacesUrl/>' creatorService: baseUrl: '127.0.0.1' port: '8000' rhaap: baseUrl: '<https://MyAapSubcriptionUrl>' token: '<TopSecretAAPToken>' checkSSL: true automationHub: baseUrl: '<https://MyOwnPAHUrl/>'
- Restart the Red Hat Developer Hub deployment.
Remove the
plugin-registry
OpenShift application.oc delete all -l app=plugin-registry