manage
install-cpd-config-ac
Install the IBM Software Hub configuration admission controller by creating an instance-scoped webhook.
- Required role
-
Cluster administrator A cluster administrator must run this command.
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.
After you install the configuration admission controller, enable it by running the cpd-cli
manage
enable-cpd-config-ac command.
Syntax
cpd-cli manage install-cpd-config-ac \
--cpd_instance_ns=<project-name> \
[--cpd_config_ac_image=<image-location-and-name>] \
[--preview=true|false] \
[-v][-vv][-vvv]
Arguments
The install-cpd-config-ac command has no arguments.
Options
| Option | Description |
|---|---|
--cpd_instance_ns |
The project (namespace) where IBM Software Hub is
installed.
|
--cpd_config_ac_image |
The location and name of the zen-rsi-adm-controller image to use when
installing the admission controller.
|
--preview |
Preview the commands that run when you issue this CLI
command. The command issues a series of
The
|
-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.
- Install the configuration admission controller in the specified instance of IBM Software Hub
-
cpd-cli manage install-cpd-config-ac \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} - Install the configuration admission controller in the specified instance of IBM Software Hub when the cluster pulls images from a private container registry
-
cpd-cli manage install-cpd-config-ac \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \ --cpd_config_ac_image=${PRIVATE_REGISTRY_LOCATION}/cpopen/cpfs/zen-rsi-adm-controller:${ZEN_VERSION}-amd64