operatorhub is showing 400+ operators which are not listed in imageset config file

Solution Verified - Updated -

Issue

  • The image mirroring has been done for a single operator but still operatorhub shows all operators.
  • oc-mirror list operators command shows operators that are not listed in imageset config file.
$ cat imageset-config.yaml
kind: ImageSetConfiguration
apiVersion: mirror.openshift.io/v1alpha2
storageConfig:
  registry:
    imageURL: my-mirror-registry/oc-mirror
    skipTLS: false
mirror:
  operators:
  - catalog: registry.redhat.io/redhat/redhat-operator-index:v4.14
    packages:
      - name: metallb-operator
______________________________

$ oc-mirror list operators --catalog my-mirror-registry/oc-mirror/redhat/redhat-operator-index:v4.14
NAME                                          DISPLAY NAME                                             DEFAULT CHANNEL
3scale-operator                               Red Hat Integration - 3scale                             threescale-2.14
advanced-cluster-management                   Advanced Cluster Management for Kubernetes               release-2.10
amq-broker-rhel8                              Red Hat Integration - AMQ Broker for RHEL 8 (Multiarch)  7.12.x
amq-online                                    Red Hat Integration - AMQ Online                         stable
amq-streams                                   Red Hat Streams for Apache Kafka                         stable
[...]

Environment

  • Red Hat OpenShift Container Platform 4
  • oc-mirror 4.15.15

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content