Creating an image pull secret

To create an image pull secret, obtain the IBM® Sterling Intelligent Promising container images from IBM Entitled Registry and configure those images in the SIPEnvironment custom resource.

Procedure

  1. Obtain container images from the IBM Entitled Registry. For more information, see Obtaining container images from IBM Entitled Registry.
  2. Provide the names of the imagePullSecrets in the image parameter of the SIPEnvironment as shown in the following example.
     image:
      imagePullSecrets:
      - name: <image-Pull-Secret1> 
      - name: <image-Pull-Secret2>
  3. Run the following command to create an image pull secret.
    oc create secret docker-registry <image_pull_secret_name> --docker-server=<Server> --docker-username=<User_name> --docker-password=<Password> --docker-email=<Email>
    An image pull secret is successfully created and encoded.