Creating the IBM operator catalog source

The first mandatory step is to install the CatalogSource in your cluster.

A CatalogSource is a repository of CSVs, custom resource definitions (CRDs), and operator packages.

You need to install CatalogSources to install the IBM RPA operator and its dependencies.

First, open a Linux™ terminal or a Windows™ PowerShell and login to your Red Hat® OpenShift® Container Platform cluster:

oc login --token=<LOGIN TOKEN> --server=https://<SERVER URL> 

Then, apply the catalog source to the cluster:

cat <<EOF | oc apply -f -
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: ibm-operator-catalog
  namespace: openshift-marketplace
spec:
  displayName: IBM Operator Catalog
  image: icr.io/cpopen/ibm-operator-catalog:latest
  publisher: IBM
  sourceType: grpc
  updateStrategy:
    registryPoll:
      interval: 45m
EOF