-
Bug
-
Resolution: Not a Bug
-
Normal
-
None
-
4.20.0
-
Quality / Stability / Reliability
-
False
-
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Description of problem:
When oc-mirror creates the delete-imageset-config.yaml and delete-image.yaml they are not unique to that run. A subsequent run of oc-mirror to generate a delete plan then overwrites the existing files as a result. A user has no way to recall what images and operators were deleted in prior runs if they performed consecutive deletes.
Version-Release number of selected component (if applicable):
How reproducible:
100%
Steps to Reproduce:
1. Run oc-mirror to generate deletion plan with an imageset config 2. Observe delete-images.yaml and delete-imageset-config.yaml 3. Run oc-mirror to generate a new deletion plan with a different imageset config
Actual results:
delete-images.yaml and delete-imageset-config.yaml have been overwritten with the latest deletion plan
Expected results:
A unique set of yaml files are generated (timestamped?) than allows for some sort of history of oc-mirrors delete operatations
Additional info: