This is a clone of issue OCPBUGS-56486. The following is the description of the original issue:
—
Description of problem:
While mirroring using v2, If I change the name of the image so that it ends with the word "delete", $ cat imageset.yaml kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v2alpha1 mirror: additionalImages: - name: xxxdeleteme:1 It fails with below  delete: is not allowed in ImageSetConfigurationKind   Do i need to file a bug for this? ~~~ $ oc-mirror -c imageset.yaml --workspace file://`pwd` docker://`hostname`:8443 --v2 2025/05/19 08:17:18 [INFO] : :wave: Hello, welcome to oc-mirror 2025/05/19 08:17:18 [INFO] : :gear: setting up the environment for you... 2025/05/19 08:17:18 [ERROR] : delete: is not allowed in ImageSetConfigurationKind ~~~ Why is this only a reserved keyword for the last part of the image name? I would have expected that the keyword should be reserved at the version field too if it was rated as a "dangerous" keyword. ~~~ kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v2alpha1 mirror: additionalImages: - name: delete.delete/delete/delete/delete1:delete ~~~
Version-Release number of selected component (if applicable):
How reproducible:
Â
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
Additional info:
- blocks
-
OCPBUGS-57124 [v2] oc mirror - error when mirroring image name ends with the word 'delete'
-
- POST
-
- clones
-
OCPBUGS-56486 [v2] oc mirror - error when mirroring image name ends with the word 'delete'
-
- Verified
-
- is blocked by
-
OCPBUGS-56486 [v2] oc mirror - error when mirroring image name ends with the word 'delete'
-
- Verified
-
- is cloned by
-
OCPBUGS-57124 [v2] oc mirror - error when mirroring image name ends with the word 'delete'
-
- POST
-
- links to