Description of problem:
Mirroring day-2 operator images from the redhat-operator-index:v4.20 with the oc-mirror 4.20.0 binary on (--v2 mode), you get as an output some files including the "idms-oc-mirror.yaml" IDMS file. This file at end has a "status: {}" line. In oc-mirror 4.18 versions the output file was the ICSP file that didn't included this status line.
Version-Release number of selected component (if applicable):
oc-mirror Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.20.0-202509230043.p2.g767d31f.assembly.stream.el9-767d31f", GitCommit:"767d31f19e91d387f62c700ef45002a712da87c5", GitTreeState:"clean", BuildDate:"2025-09-23T05:17:25Z", GoVersion:"go1.24.4 (Red Hat 1.24.4-1.module+el8.10.0+23323+67916f33) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
Mirroring day-2 operator images from the redhat-operator-index:v4.20 with the oc-mirror 4.20.0 binary on (--v2 mode)
Steps to Reproduce:
1. Mirror one day2-operator from the redhat-operator-index:v4.20 (ex: lvms-operator) with the oc-mirror 4.20.0 binary on (--v2 mode)
2. Check the output file "working-dir/cluster-resources/idms-oc-mirror.yaml" and look for the file's last row.
Actual results:
apiVersion: config.openshift.io/v1
kind: ImageDigestMirrorSet
metadata:
name: idms-operator-0
spec:
imageDigestMirrors:
- mirrors:
- registry.offline.redhat.lan:5000/compliance/openshift-compliance-rhel8-operator
source: registry.redhat.io/compliance/openshift-compliance-rhel8-operator
status: {}
Expected results:
apiVersion: config.openshift.io/v1
kind: ImageDigestMirrorSet
metadata:
name: idms-operator-0
spec:
imageDigestMirrors:
- mirrors:
- registry.offline.redhat.lan:5000/compliance/openshift-compliance-rhel8-operator
source: registry.redhat.io/compliance/openshift-compliance-rhel8-operator
Additional info:
This single line impacts on the automated deployment of this IDMS using Gitops
- blocks
-
OCPBUGS-65787 oc-mirror includes on the IDMS file a status line
-
- Closed
-
-
OCPBUGS-65788 oc-mirror includes on the IDMS file a status line
-
- Closed
-
- is cloned by
-
OCPBUGS-65787 oc-mirror includes on the IDMS file a status line
-
- Closed
-
-
OCPBUGS-65788 oc-mirror includes on the IDMS file a status line
-
- Closed
-
- links to