To uninstall Ansible plug-ins from a Helm chart, first remove templates through the ansible:content:create action. Then, delete the plug-in config and extraContainers from the YAML, clear the ConfigMap Ansible block, restart the deployment, and remove the registry app.
- 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
- 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 Upgrade.
- 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