manage get-olm-artifacts

Get the list of catalog sources and operator subscriptions that are on the cluster.

Extended description

The get-olm-artifacts command gets information about all operators in the specified project (namespace).

Express installations

If you ran an express installation, most of the operators are in the ibm-common-services project. However, there might be additional third-party operators in the openshift-operators.

You can run the get-olm-artifacts against both of the projects to get information about the operators that are used by your IBM Cloud Pak for Data deployment.

Specialized installations

If you ran a specialized installation, the IBM Cloud Pak foundational services operators are in the ibm-common-services project and the IBM Cloud Pak for Data operators are in a separate project, such as the cpd-operators project. However, there might be additional third-party operators in the openshift-operators.

You can run the get-olm-artifacts against all projects to get information about the operators that are used by your IBM Cloud Pak for Data deployment.

Syntax

cpd-cli manage get-olm-artifacts \
--subscription_ns=<project-name>

Arguments

The get-olm-artifacts command has no arguments.

Options

Table 1: Command options
Option Description
--subscription_ns Specify the project (namespace) where the operators are installed.
Status
Optional.
Syntax
--subscription_ns=<project-name>
Default value
ibm-common-services

If you omit this option, the default value is used.

Valid values
A project (namespace) on the cluster that contains operators.

Examples

Note: The following example uses the recommended installation environment variables.

It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For details, see Setting up installation environment variables.

Get information about the OLM artifacts that are associated with the operators in the specified project
cpd-cli manage get-olm-artifacts \
--subscription_ns=${PROJECT_CPD_INST_OPERATORS}