Creating a Kubernetes pull secret

Use the instructions to create a Kubernetes pull secret.

Before you begin

Make sure that you have the following prerequisites:

  1. Install the oc CLI.
  2. Access to the cluster as a user with the cluster-admin role.
  3. Install the IBM Fusion Access for SAN operator and created the ibm-fusion-access namespace in the process. For more information about the procedure, see Installing IBM Fusion Access for SAN operator.

About this task

Create a Kubernetes secret object to hold the IBM entitlement key to pull the required container images from the IBM container registry.

Procedure

  1. Log in to the IBM Container software library with your IBM Fusion Access for SAN IBMid and password.
  2. In the IBM Container software library, get the entitlement key:
    1. If you do not have an entitlement key yet, click Get entitlement key or Add new key, and then click Copy.
    2. If you already have an entitlement key, click Copy.
  3. Save the entitlement key.
  4. Create the secret object by running the oc create command:
    $ oc create secret -n ibm-fusion-access generic fusion-pullsecret \
    --from-literal=ibm-entitlement-key=<ibm-entitlement-key>
  5. Verify whether the pull secret is created successfully as follows:
    1. Log in to the OpenShift® Container Platform web console.
    2. Go to Workloads > Secrets.
    3. Make sure that fusion-pullsecret is present in the list.