Uploaded image for project: 'Agent-based Installer for OpenShift'
  1. Agent-based Installer for OpenShift
  2. AGENT-570

Add new parameter flag to to create tarfile with container images

XMLWordPrintable

      A new parameter must be added to the `openshift-install agent create image` to create a tarfile of container images from the release image embedded in the installer. It is recommended that the new parameter flag be `--embed-release-image=true`.

      When this is used the agent installer should use oc-mirror to mirror to a file using a command like:

      oc-mirror --config ${config} file://${oc_mirror_dir} --ignore-history

      where config contains the imageset which would be something like

      apiVersion: mirror.openshift.io/v1alpha2
      kind: ImageSetConfiguration
      archiveSize: 20 
      storageConfig:
        local:
          path: metadata
      mirror:
        platform:
          architectures:
            - "amd64"
          channels:
            - name: candidate-${OPENSHIFT_RELEASE_STREAM}
              minVersion: $latest_release
              maxVersion: $latest_release
              type: ocp
        additionalImages:
        - name: registry.redhat.io/ubi8/ubi:latest

              Unassigned Unassigned
              bfournie@redhat.com Robert Fournier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: