Uninstalling the IBM API Catalog service in an air-gapped environment

Uninstall the IBM API Catalog service in your cluster that has no Internet connectivity.

Run the following command to uninstall the IBM API Catalog service:

cloudctl case launch \
  --case ${OFFLINEDIR}/ibm-apicatalog-{{site.data.keyword.cs_case_api}}.tgz \
  --inventory apicatalogOperatorSetup \
  --action uninstall-catalog \
  --namespace ${NAMESPACE} \
  --args "--registry ${LOCAL_DOCKER_REGISTRY}:5000 \
  --user ${LOCAL_DOCKER_USER} --pass ${LOCAL_DOCKER_PASSWORD} \
  --inputDir ${OFFLINEDIR}"

Verify that the CatalogSource is removed.

oc get pods -n openshift-marketplace
oc get catalogsource -n openshift-marketplace