Creating the entitlement key secret or updating the global pull secret
Complete one of the following sets of steps to create a docker-registry secret to enable your deployment to pull operand images from the IBM® Entitled Registry. If you are installing a single instance of WebSphere Automation, create an entitlement key secret in that namespace; if you are installing multiple instances in different namespaces, update the global pull secret, or create a separate entitlement key secret in each instance namespace.
Before you begin
namespace admin
access is required. If you add the key to the global pull secret, cluster admin
access is required.You can have one central account (a functional ID) that can be associated with the entitlement key that you want to use for your installation. You also need to create an IBM ID to associate with your functional ID to use the Passport Advantage "Manage Access" tools so that you can grant your functional id download access to your Passport Advantage site. However, note that a primary contact, administrative contact or site technical contact cannot be a functional ID since they are accepting legal terms of responsibility for managing the site.
Creating an entitlement key secret at a namespace level
If you plan to install WebSphere Automation in an instance namespace, use one of the following options to create an entitlement key secret for the instance namespace.
- Option 1: Creating the entitlement key secret with the Red Hat OpenShift console
-
- Obtain the entitlement key that is assigned to your IBMid. Log in to MyIBM Container Software Library with the IBMid and password details that are associated with the entitled software.
- In the Red Hat OpenShift console, ensure that you are in the project
(or namespace) (for example,
websphere-automation) in which you plan to install the WebSphere Automation instance. If you need to create this namespace, see the instructions for creating a namespace in Creating the WebSphere Automation instance. - Click , then select Image pull secret.
- In the Secret name field, enter
ibm-entitlement-key. - In the Registry server address field, enter
cp.icr.io. - In the Username field, enter
cp. - In the Password field, enter the credential that you received from entitlement.
- In the Email field, enter a contact email address.
- Click Create to create the secret.
- Option 2: Creating the entitlement key secret with the CLI
-
- Obtain the entitlement key that is assigned to your IBMid. Log in to MyIBM Container Software Library with the IBMid and password details that are associated with the entitled software.
- In the Entitlement keys section, select Copy key to copy the entitlement key to the clipboard.
- From the Red Hat OpenShift CLI, run the following command to create
an image pull secret called
ibm-entitlement-key.oc create secret docker-registry ibm-entitlement-key \ --docker-username=cp\ --docker-password=<entitlement-key> \ --docker-server=cp.icr.io \ --namespace=<namespace>Where:<entitlement-key>is the entitlement key that you copied in step 2.<namespace>is the namespace in which you plan to install the WebSphere Automation instance; for example,websphere-automation. If you need to create this namespace, see the instructions for creating a namespace in Creating the WebSphere Automation instance.
Updating the global pull secret
If you plan to install multiple instances of WebSphere Automation in different namespaces, update the global pull secret by using the following instructions.
- Get an entitlement key to the IBM Entitled Container Fulfillment Registry.
- Log in to MyIBM Container Software Library with the IBMid and password that are associated with the entitled software.
- In the Entitlement keys section, select Copy key to copy the entitlement key to the clipboard.
- Use the console to configure the global pull secret with entitled registry
(
cp.icr.io) credentials.- In the console, click
and select
the
openshift-confignamespace. - Find the existing
pull-secretsecret. - Click Action, then select Edit Secret.
- Click Add Credentials to add an entry for the entitled registry. Specify
cp.icr.ioas the registry server address,cpas the username, and the entitlement key that you obtained in the previous step as the password. - Click Save.
- In the console, click
and select
the