Uploaded image for project: 'Fuse/AMQ Documentation'
  1. Fuse/AMQ Documentation
  2. FUSEDOC-4999

Incorrect Instructions in "Configuring internal registry secrets" Section

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • fuse-7.11
    • Fuse on OpenShift
    • None

      Please check the following instructions:
      Fuse on OpenShift Guide:: 3.2. Configuring internal registry secrets
      https://access.redhat.com/documentation/en-us/red_hat_fuse/7.11/html/fuse_on_openshift_guide/installing-fuse-on-openshift-in-restricted-environment#configuring-internal-registry-secrets

      3. To use the secret for pulling images for pods, add the secret to your service account. The name of the service account must match the name of the service account pod uses.
      
      oc secrets add serviceaccount/builder secrets/psi-internal-registry
      oc secrets add serviceaccount/default secrets/psi-internal-registry --for=pull
      oc secrets add serviceaccount/builder secrets/psi-internal-registry
      
      4. To use the secret for pushing and pulling build images, the secret must be mountable inside of a pod. To mount the secret, use following command.
      
      oc secrets link default psi-internal-registry
      oc secrets link default psi-internal-registry --for=pull
      oc secrets link builder psi-internal-registry
      

      OCP 4.10 does not support "oc secrets add" command.
      https://access.redhat.com/documentation/en-us/openshift_container_platform/4.10/html-single/cli_tools/index

      Also "oc secrets link" commands written at step 4 seems like the commands for step 3.
      Please check instructions for step3 and step4 again.

              nshendye@redhat.com Nilam Shendye
              rhn-support-hfuruich Hisao Furuichi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: