OCI container delivery
Use OCI container delivery to automatically pull an OCI container from registry.redhat.io that includes the Ansible automation portal plug-ins. This is the recommended method for new installations and production deployments.
Before you begin
- You have a Red Hat account with access to
registry.redhat.io. - You have credentials for
registry.redhat.io. - You have access to the OpenShift project where you will install the Helm chart.
- You have installed the OpenShift CLI (
oc) and logged in to your cluster. - You have a registry service account token from the Red Hat Customer Portal. For more information, see Registry Service Accounts.
Procedure
Results
- Verify that the secret exists in the project:
oc get secret <release-name>-dynamic-plugins-registry-authImportant Create this secret in the same OpenShift project as the Helm release, and create it before you install or upgrade the Helm release.
The dynamic plug-in init container uses
skopeoto pull OCI artifacts directly. It does not use KubernetesimagePullSecrets, cluster-levelImageDigestMirrorSetorImageTagMirrorSet, or OpenShift Container Platform global pull secrets. You must provide registry credentials in theauth.jsonsecret even if your cluster is configured with image mirrors.
OpenShift web console steps
You can create the dynamic-plugins-registry-auth secret in the OpenShift web console.
- In the OpenShift web console, select the OpenShift project where you will install the Helm release.
- In the Administrator view, click .
- Click .
- Set the secret name to
<release-name>-dynamic-plugins-registry-auth. - Add a key named
auth.jsonand paste the contents of your auth.json file as the value. - Click Create.
Helm chart configuration
When you configure the Helm chart, set redhat-developer-hub.global.pluginMode to match your chosen delivery method:
oci-- OCI container delivery (recommended).tarball-- HTTP plug-in registry.
Verify that pluginMode is set to the correct value. If you omit this setting, the chart defaults to tarball.
redhat-developer-hub:
global:
pluginMode: oci
If you need to change pluginMode after installing the Helm release, upgrade the Helm release.
OpenShift web console:
- In the Developer view, click Helm.
- Select the Helm release.
- Click .
- In the YAML view, set
redhat-developer-hub.global.pluginModetooci(OCI container delivery) ortarball(HTTP plug-in registry). - Click Upgrade.
Command line:
- Run the
helm upgradecommand with your updated values file:helm upgrade <release-name> <chart> -n <project> -f <values.yaml>