manage list-platform-ca-certs-pods

List the pods where the secret has been injected and the pods where the secret injection failed.

Required role

Instance administrator An instance administrator can run this command.

Extended description

List all pods that meet the following criteria:

  • Pods with the label cpd-platform-ca-certs: true.

    (These pods have been injected with cpd-custom-ca-certs secret.)

  • Pods where the secret injection failed.

The command returns pods from the operands project and any projects that are tethered to the operands project.

Syntax

cpd-cli manage list-platform-ca-certs-pods \
--cpd_instance_ns=<project-name>

Arguments

The list-platform-ca-certs-pods command has no arguments.

Options

Table 1: Command options
Option Description
--cpd_instance_ns The project where the IBM Cloud Pak® for Data control plane and services are installed.
Status
Required.
Syntax
--cpd_instance_ns=<project-name>
Default value
No default. User-defined.
Valid values
The name of the project where you want to delete the proxy configuration resources. Cloud Pak for Data must be installed in this project.

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.

List the pods where the secret was inject and where the secret injection failed
cpd-cli manage list-platform-ca-certs-pods \
--cpd_instance_ns=PROJECT_CPD_INST_OPERANDS