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-certssecret.) - 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.
|
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