Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-8134

Simplify the process for generation of delete-images.yaml

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • oc-mirror
    • None
    • None
    • Product / Portfolio Work
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Similar to the functionality in oc-mirror v1, customer would like to be able to delete images in a fully disconnected environment - without requiring internet access, and without needing to track any additional files beyond the mirror tar archive and the ImageSetConfiguration.yaml (a new requirement introduced in v2).

      In the current oc-mirror v2 implementation, generating delete-images.yaml requires either internet access or a cached catalog. This unnecessarily complicates image removal in customer environments where transfer of files is lengthy and security-sensitive process.

      To address this, customer has proposed enhancing oc-mirror v2 so that catalogs are included within the mirror archive. During the generation of delete-images.yaml, if the catalog is not available in the cache, oc-mirror could automatically unpack it from the mirror, or alternatively provide functionality for the user to do this manually.

      Practical Requirement:

      Customer wants the following command to work in a fully disconnected environment, on a server that only has the tar mirror file(and ImageStreamConfiguration.yaml if needed, besides delete-isc.yaml of course, which has to be manually created anyway):

      oc-mirror delete --config=delete-isc.yaml --generate --workspace file://some-dir docker://registry.example:5000 --v2

              rhn-support-mkalinin Marina Kalinin
              rhn-support-alosingh Alok Singh
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                None
                None