manage enable-cpd-config-ac

Enable the Cloud Pak for Data configuration admission controller in the specified project and in any projects that are tethered to the project.

Required role

Instance administrator An instance administrator can run this command.

Prerequisites

Before you run this command, you must run cpd-cli manage install-cpd-config-ac.

Extended description

The Cloud Pak for Data configuration admission controller is a mutating webhook that injects the cpd-custom-ca-certs secret, the secret mount, and the associated environment variables into Cloud Pak for Data pods so that they have access to a shared set of custom certificates.

The following services support shared custom certificates:

  • AI Factsheets
  • Cognos Analytics
  • Data Privacy
  • DataStage
  • Data Virtualization
  • Db2 Big SQL
  • 5.0.1 or later IBM Match 360
  • OpenPages
  • 5.0.1 or later watsonx Assistant

The webhook is installed in the project where IBM Cloud Pak for Data control plane is installed.

If you have multiple instances of Cloud Pak for Data on the cluster, you must run this command for each instance where you want to use the Cloud Pak for Data configuration admission controller.

Syntax

cpd-cli manage enable-cpd-config-ac \
--cpd_instance_ns=<project-name> \
[-v][-vv][-vvv]

Arguments

The enable-cpd-config-ac command has no arguments.

Options

Table 1: Command options
Option Description
--cpd_instance_ns The project (namespace) where IBM Cloud Pak® for Data is installed.
Status
Required.
Syntax
--cpd_instance_ns=<project-name>
Default value
No default. User-defined.
Valid values
The project where the configuration admission controller webhook is installed.
-v
-vv
-vvv
Display verbose output.

Options are listed from least verbose to the most verbose.

Status
Optional.
Syntax
Verbose output
-v
Very verbose output
-vv
Most verbose output
-vvv
Default value
Not applicable.
Valid values
Not applicable.

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.

Enable configuration admission controller webhook in the project where Cloud Pak for Data is installed
cpd-cli manage enable-cpd-config-ac \
--cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS}