Updating the global image pull secret for IBM Software Hub
The global image pull secret ensures that your cluster has the necessary credentials to pull images. The credentials that you add to the global image pull secret depend on where you want to pull images from.
You must create the global image pull secret to ensure that any components that use OLM have access to the credentials for pulling images.
- Installation phase
-
Setting up a client workstation
Setting up a cluster
Collecting required information
Preparing to run installs in a restricted network
Preparing to run installs from a private container registry
Preparing the cluster for IBM Software Hub
Preparing to install an instance of IBM Software Hub
Installing an instance of IBM Software Hub
Setting up the control plane
Installing solutions and services
- Who needs to complete this task?
-
Cluster administrator A cluster administrator must complete this task.
- When do you need to complete this task?
-
One-time setup You must complete this task before you install IBM Software Hub for the first time.
Restore If you plan to restore IBM Software Hub to a different cluster, you must also complete this task on the target cluster.
Important: If you are running Red Hat® OpenShift® on IBM Cloud and your cluster is running Red Hat OpenShift Container Platform Version 4.18 or later, complete Updating the global image pull secret for IBM Software Hub on Red Hat OpenShift on IBM Cloud instead.
Before you begin
Ensure that you source the environment variables before you run the commands in this task.
About this task
Use the appropriate cpd-cli manage command to create or update the global image pull secret with the
appropriate credentials:
- IBM Entitled Registry
- If you are pulling images from the IBM
Entitled Registry,
the global image pull secret must contain your IBM entitlement API
key.
Use the
cpd-cli manage add-icr-cred-to-global-pull-secretcommand to create or update the global image pull secret. - Private container registry
- If you are pulling images from a private container registry, the global image pull secret must
contain the credentials of an account that can pull images from the registry.
Use the
cpd-cli manage add-cred-to-global-pull-secretcommand to create or update the global image pull secret.