Getting access to the new container images
To get access to the Cloud Pak container images, you must have an IBM entitlement registry key to pull the images from the IBM docker registry or download the Cloud Pak packages (.tgz files) from Fix Central for an interim fix.
About this task
Follow the instructions in Getting access to container images to get the new docker images.
oc project <project_name>
oc create secret docker-registry ibm-entitlement-key \
--docker-username=cp \
--docker-password="<entitlement_key>" \
--docker-server=cp.icr.io
Where, the <project_name> must be set to the namespace of the installed operator.
If you used a local image registry instead of the default IBM Entitled Registry, you must prepare your upgrade with the new images. Follow the first five steps that are described in Setting up the cluster by installing the IBM operator catalog from a local registry to download the new Cloud Pak archive and mirror the images.
When the new images are mirrored in your registry, you can then run the
upgradeOperator.sh script with the -i
parameter to load the
images from a local image registry. For more information, see step 4 in Upgrading the operator by running a script.
The following example shows how to run the upgrade script and load the images from a local registry.
./scripts/upgradeOperator.sh \
-n cp4ba-project \
-i default-route-openshift-image-registry.apps.example.com/cp4ba-project/icp4a-operator:21.0.2 \
-a accept