manage
enable-cpd-config-ac
Enable the IBM Software Hub 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 IBM® Software
Hub configuration
admission controller is a mutating webhook that injects the cpd-custom-ca-certs secret, the secret mount, and the associated environment variables
into IBM Software
Hub pods so that they have access
to a shared set of custom certificates.
The following services support shared custom certificates:
- AI Factsheets
- Analytics Engine powered by Apache Spark
- Cognos Analytics
- Data Privacy
- DataStage
- Data Virtualization
- Db2 Big SQL
- IBM Master Data Management
- OpenPages
- RStudio®
- Watson Studio
- Watson Studio Runtimes
- watsonx Assistant
- watsonx.data™
- watsonx™ Orchestrate
The webhook is installed in the project where the IBM Software Hub control plane is installed.
If you have multiple instances of IBM Software Hub on the cluster, you must run this command for each instance where you want to use the IBM Software Hub 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
| Option | Description |
|---|---|
--cpd_instance_ns |
The project (namespace) where IBM Software Hub is
installed.
|
-v-vv-vvv |
Display verbose output. Options are listed from least verbose to the most verbose.
|
Examples
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}