Install the Ansible plug-ins
Install the Ansible plug-ins for Red Hat Developer Hub on OpenShift Container Platform using OCI container delivery. Red Hat Developer Hub pulls the plug-ins directly from registry.redhat.io as OCI artifacts during startup.
Create the registry authentication secret
Red Hat Developer Hub pulls the Ansible plug-ins directly from registry.redhat.io as OCI artifacts during startup. This requires a registry authentication secret in the same OpenShift Container Platform project as your Red Hat Developer Hub deployment.
Procedure
Results
Verify that the secret exists in the project.
For an Operator-based deployment:
$ oc get secret dynamic-plugins-registry-auth -n <your_rhdh_namespace>For a Helm-based deployment:
$ oc get secret <release_name>-dynamic-plugins-registry-auth -n <your_rhdh_namespace>Configure the dynamic plug-ins
After creating the registry authentication secret, add the Ansible plug-ins to your dynamic plug-ins configuration.
Procedure
Add the Ansible Developer Tools sidecar container
After the plug-ins load, add the Ansible Developer Tools container as a sidecar container to the Red Hat Developer Hub pod.
About this task
The ansible-dev-tools-rhel9 container image is hosted on registry.redhat.io and requires Red Hat Ansible Automation Platform subscription entitlements. If your OpenShift Container Platform cluster's global pull secret does not include AAP-entitled credentials, you must create an imagePullSecrets entry in the deployment patch. You can reuse the same auth.json credentials created for the dynamic plug-ins registry secret:
$ oc create secret docker-registry rhdh-registry-pull-secret \
--from-file=.dockerconfigjson=auth.json \
-n <your_rhdh_namespace>Then add the imagePullSecrets field to the deployment patch as shown in the examples below.
Procedure
Verify the plug-in installation
After configuring the dynamic plug-ins and sidecar container, verify that the Ansible plug-ins installed successfully.