-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
-
Product / Portfolio Work
-
None
-
False
-
-
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