Installing the IBM Catalog
🚀 TASK: Install the IBM Catalog source
🌏 Documentation for the Task: Online starter installation of CP4AIOPSAdd the CP4AIOPS CatalogSource
to your OpenShift cluster as described in the Documentation.
Run the following command to create the
CatalogSource
.cat << EOF | oc apply -f -apiVersion: operators.coreos.com/v1alpha1kind: CatalogSourcemetadata:name: ibm-operator-catalognamespace: openshift-marketplacespec:displayName: ibm-operator-catalogpublisher: IBM ContentUpdate the
CatalogSource
to always use the current image digest by running the following commands:IMGDIGEST=`oc get pods -n openshift-marketplace -l=olm.catalogSource=ibm-operator-catalog --no-headers -o=jsonpath="{.items[0].status.containerStatuses[0].imageID}" -n openshift-marketplace` && \oc patch catalogsource ibm-operator-catalog -n openshift-marketplace --type=json -p "[{ "op": "test", "path": "/spec/image", "value": "\"icr.io/cpopen/ibm-operator-catalog:latest\"" }, { "op": "replace", "path": "/spec/image", "value": "\"$IMGDIGEST\"" }]"
This creates the
CatalogSource
that provides the available IBM Operators (not just CP4AIOPS).
Page last updated: 03 November 2022