Add the IBM operator catalog

Use the Red Hat® OpenShift® Container Platform command-line interface to add the catalog source to your Red Hat OpenShift cluster. You can skip this step if you used an airgap installation to get the container images.

The following instructions describe how to add the IBM® operator catalog source to your cluster.
  1. Create a file on your computer that contains the following catalog source YAML. For example, catalog-resource.yml.
    apiVersion: operators.coreos.com/v1alpha1
    kind: CatalogSource
    metadata:
      name: ibm-operator-catalog
      namespace: openshift-marketplace
    spec:
      displayName: ibm-operator-catalog 
      publisher: IBM Content
      sourceType: grpc
      grpcPodConfig:
        securityContextConfig: restricted
      image: icr.io/cpopen/ibm-operator-catalog:latest
      updateStrategy:
        registryPoll:
          interval: 45m
  2. Log in as an administrator to the cluster.
  3. Create the catalog source by running the following command.
    oc apply -f catalog-resource.yml