Install with a Helm chart
The following procedures describe how to install Ansible plug-ins in Red Hat Developer Hub instances on Red Hat OpenShift Container Platform using a Helm chart.
The workflow is as follows:
- Download the Ansible plug-ins files.
- Create a plug-in registry in your OpenShift cluster to host the Ansible plug-ins.
- Add the plug-ins to the Helm chart.
- Create a custom ConfigMap.
- Add your custom ConfigMap to your Helm chart.
- Edit your custom ConfigMap and Helm chart according to the required and optional configuration procedures.
Note You can save changes to your Helm and ConfigMap after each update to your configuration. You do not have to make all the changes to these files in a single session.
Prerequisites Copy linkLink copied!
To proceed, you must have Red Hat Developer Hub installed on Red Hat OpenShift Container Platform (OCP) and a valid subscription to Red Hat Ansible Automation Platform.
- Red Hat Developer Hub installed on Red Hat OpenShift Container Platform.
- For Helm installation, follow the steps in the Installing Red Hat Developer Hub on OpenShift Container Platform with the Helm chart section of Installing Red Hat Developer Hub on OpenShift Container Platform.
- For Operator installation, follow the steps in the Installing Red Hat Developer Hub on OpenShift Container Platform with the Operator section of Installing Red Hat Developer Hub on OpenShift Container Platform.
- A valid subscription to Red Hat Ansible Automation Platform.
- An OpenShift Container Platform instance with the appropriate permissions within your project to create an application.
- The Red Hat Developer Hub instance can query the automation controller API.
- Optional: To use the integrated learning paths, you must have outbound access to developers.redhat.com.
Recommended RHDH preconfiguration Copy linkLink copied!
Red Hat recommends performing the following initial configuration tasks in Red Hat Developer Hub (RHDH). However, you can install the Ansible plug-ins for Red Hat Developer Hub before completing these tasks.
- Authentication in Red Hat Developer Hub
- Authorization in Red Hat Developer Hub
Red Hat provides a repository of software templates for RHDH that uses the publish:github action. To use these software templates, you must install the required GitHub dynamic plugins.
Choose a plug-in delivery method Copy linkLink copied!
Ansible plug-ins for Red Hat Developer Hub support two delivery methods. Choose the method that fits your environment.
- OCI container (recommended): Red Hat Developer Hub pulls the Ansible plug-ins directly from
registry.redhat.ioas OCI artifacts during startup. You do not need to use any manual file downloads or plug-in registry deployment. - HTTP plug-in registry: Manually download the Ansible plug-ins tarball files, deploy an HTTP plug-in registry in your OpenShift cluster, and configure Red Hat Developer Hub to pull plug-ins from that registry. Use this method if your environment cannot pull OCI artifacts from
registry.redhat.io.
Complete one of the following procedures before configuring the Ansible plug-ins in the Required configuration section.
Use OCI container delivery method Copy linkLink copied!
Red Hat Developer Hub pulls the Ansible plug-ins directly from registry.redhat.io as OCI artifacts. This is the recommended method that requires a registry authentication secret in the same OpenShift project as your Red Hat Developer Hub deployment.
Before you begin Copy linkLink copied!
- You have a Red Hat account with access to
registry.redhat.io. - You have a registry service account token from the Red Hat Customer Portal.
- You have access to the OpenShift project. In the same project you had installed Red Hat Developer Hub.
- You have installed the OpenShift CLI (
oc) and logged in to your cluster.
About this task Copy linkLink copied!
This method is the default for the Helm chart and is the recommended method for production deployments.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Verify that the secret exists in the project:
oc get secret <deployment-name>-dynamic-plugins-registry-auth
Download the Ansible plug-ins files Copy linkLink copied!
Download the Ansible plug-ins for Red Hat Developer Hub Setup Bundle from the Red Hat Ansible Automation Platform Product Software downloads page.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Run ls to verify that the extracted files are in the $DYNAMIC_PLUGIN_ROOT_DIR directory:
$ ls $DYNAMIC_PLUGIN_ROOT_DIR
ansible-plugin-backstage-rhaap-dynamic-x.y.z.tgz
ansible-plugin-backstage-rhaap-dynamic-x.y.z.tgz.integrity
ansible-plugin-scaffolder-backend-module-backstage-rhaap-dynamic-x.y.z.tgz
ansible-plugin-scaffolder-backend-module-backstage-rhaap-dynamic-x.y.z.tgz.integrity
The files with the .integrity file type contain the plugin SHA value. The SHA value is used during the plug-in configuration.
Create a registry for the Ansible plug-ins Copy linkLink copied!
Set up a registry in your OpenShift cluster to host the Ansible plug-ins and make them available for installation in Red Hat Developer Hub (RHDH).
Procedure Copy linkLink copied!
Results Copy linkLink copied!
To verify that the plugin-registry was deployed successfully, open the Topology view in the Developer perspective on the Red Hat Developer Hub application in the OpenShift Web console.
- Click the plug-in registry to view the log.

(1) Developer hub instance
(2) Plug-in registry
- Click the terminal tab and login to the container.
- In the terminal, run
lsto confirm that the.tarfiles are in the plugin registry.ansible-plugin-backstage-rhaap-dynamic-x.y.z.tgz ansible-plugin-scaffolder-backend-module-backstage-rhaap-dynamic-x.y.z.tgzThe version numbers and file names can differ.