Uploaded image for project: 'Docs for Red Hat Developers'
  1. Docs for Red Hat Developers
  2. RHDEVDOCS-2289

AG - [upstream/downstream] improve doc re: suggested images to pre-pull w/ imagepuller

XMLWordPrintable

      Follow up from RHDEVDOCS-2227.

      Could we:

      • update the list of images in the install guide's restricted environment section to the latest digests [once per release]

      But also, in case we forget or a CVE respin happens that makes the list no longer valid...

      • provide a scriptlet for users to use to get the list of images, eg.,
        downstream
        $➔ curl -sSLo- https://raw.githubusercontent.com/redhat-developer/codeready-workspaces-operator/crw-2.4-rhel-8/manifests/codeready-workspaces.csv.yaml | yq -r '.spec.relatedImages[].image'

        (where crw-2.4-rhel-8 should be crw-{prod-ver}-rhel-8

        upstream
        $➔ curl -sSLo- https://raw.githubusercontent.com/eclipse/che-operator/master/olm/eclipse-che-preview-openshift/deploy/olm-catalog/eclipse-che-preview-openshift/7.19.2/eclipse-che-preview-openshift.v7.19.2.clusterserviceversion.yaml | yq -r '.spec.relatedImages[].image' | sort | uniq
        

        (then for upstream you need to remove all the redundant, unused digests )

      • link to the install guide from the admin guide section re: image puller, but add a note that 'Not all images can be prepulled this way. Scratch images like machine-exec, images without a sleep command installed, and images that mount volumes in the dockerfile are not supported for pre-pulling on OpenShift.'

      That will make the doc more accurate, and you won't need to maintain two nearly-identical tables in two documents.

              ffloreth@redhat.com Fabrice Flore-Thébault
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: