Upgrade the Ansible plug-ins with Helm
To upgrade the Ansible plug-ins, you must update the plugin-registry application with the latest Ansible plug-ins files.
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.
Update the plug-in registry Copy linkLink copied!
Rebuild your plug-in registry application in your OpenShift cluster with the latest Ansible plug-ins files.
Before you begin Copy linkLink copied!
- You have downloaded the Ansible plug-ins files.
- You have set an environment variable, for example
$DYNAMIC_PLUGIN_ROOT_DIR, to represent the path to the local directory where you have stored the.tarfiles.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Verify that the plugin-registry has been updated.
- In the OpenShift UI, click Topology.
- Click the redhat-developer-hub icon to view the pods for the plug-in registry.
- Click View logs for the plug-in registry pod.
- Open the Terminal tab and run
lsto view the.tarfiles in theplug-in registry. - Verify that the new
.tarfile has been uploaded.
Update the Ansible plug-ins version numbers for a Helm installation Copy linkLink copied!
To upgrade the Ansible plug-ins, you must update the imageTagInfo parameter in the Helm chart configuration to the desired version. This triggers the Red Hat Developer Hub to pull the new container images directly from the Red Hat registry.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
- In the OpenShift UI, click Topology.
- Make sure that the Red Hat Developer Hub instance is available.