Creating catalog sources

If you are using a private container registry, you must create the catalog source for each service that you plan to install.

Permissions you need for this task
You must be a cluster administrator.
When you need to complete this task
You must create the catalog sources for any of the software that you plan to install.
Note: Best practice: You can run the commands in this task exactly as written if you set up environment variables that are described in step 2 of Deploying External S-TAP with an operator. Run the environment variable script before you run the commands in this task.
Run the following commands to install the catalog source:
  1. Install the catalog source:
    pushd $WORKDIR; oc ibm-pak launch $CASE_NAME --version $CASE_VERSION
     --action install-catalog --inventory ibmEstapSetup --namespace openshift-marketplace 
    --args "--inputDir $WORKDIR/.ibm-pak/data/cases/$CASE_NAME/$CASE_VERSION"; popd
  2. Verify the installation with the following command:
    oc get catalogsource -n openshift-marketplace ibm-estap-catalog
     -o jsonpath='{.status.connectionState.lastObservedState} {"\n"}'

    Verify that the system returns READY. If it returns CONNECTING, wait until READY is returned.

Now that you've created the required catalog sources for your environment, you are ready to complete Creating operator subscriptions.