Adding online catalog sources to your OpenShift cluster
Adding the IBM operator catalog to your OpenShift cluster adds the IBM operators to the list of operators you can install. You must be an [os] cluster administrator to do so.
Note: This procedure applies only to clusters that are connected to the internet. For air-gapped
installation, follow the guidance in Mirroring for a
restricted (air-gapped) network environment.
Add the IBM
CatalogSource
object to your cluster with either:
Adding the IBM CatalogSource
object by using the OpenShift web console
- Log into the OpenShift web consolewith your OpenShift cluster admin credentials.
- In the top banner, click the plus (+) icon to open the Import YAML dialog box.
- Paste this resource definition into the dialog
box:
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
- Click Create.
Adding the IBM CatalogSource
object by using the CLI
- Copy this resource definition for IBM operators into a local file on your
computer:
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
- Run the command below. Enter the name of the file you created in the first step:
$ oc apply -f filename
Next steps
Now that you have added the catalog source, follow the guidance in Installing operators.