Description of problem:
After apply the ICSP and catalogsource should only show the selected catalog item but not all the items in the Source .
version:
oc-mirror version
Client Version: version.Info
Steps:
1) use the config to filter catalog:
cat imageset-copy.yaml kind: ImageSetConfiguration apiVersion: mirror.openshift.io/v1alpha2 mirror: operators: - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.11 originalRef: registry.redhat.io/redhat/redhat-operator-index:v4.11 packages: - name: cluster-kube-descheduler-operator
`oc mirror --config imageset-copy.yaml --use-oci-feature --oci-feature-action=copy oci://my-oci-catalog`
2) use the config to mirror :
cat mirror.yaml apiVersion: mirror.openshift.io/v1alpha2 kind: ImageSetConfiguration mirror: operators: - catalog: oci:///home/ocmirrortest/Oci/my-oci-catalog/redhat-operator-index originalRef: registry.redhat.io/redhat/redhat-operator-index:v4.11 packages: - name: cluster-kube-descheduler-operator
`oc-mirror --config mirror.yaml --use-oci-feature --oci-feature-action=mirror docker://ec2-3-16-76-217.us-east-2.compute.amazonaws.com:5000/descheduler`
3) apply the ICSP and catalogsource file;
4) login in web-console to check the catalogsource
Actual result:
4) Show all items in the Source , see the attachments.
expected result:
4) Should only show the mirror item in the source .