manage
setup-mcg
Create the secrets that services with a dependency on Multicloud Object Gateway will use to connect to Multicloud Object Gateway.
- Required role
- Cluster administrator You must be a cluster administrator to run this command.
Extended description
The setup-mcg command creates the secrets that the
following services will use to connect to Multicloud Object Gateway:
- Watson Discovery
- Watson Speech services
- watsonx Assistant
- watsonx™
Orchestrate
- Required only if you plan to use
agentic_assistantmode. - Not required if you plan to use
agenticmode.
- Required only if you plan to use
To run this command, Multicloud Object Gateway must be installed on the cluster. For more information, see Installing Multicloud Object Gateway for IBM Cloud Pak for Data.
Syntax
cpd-cli manage setup-mcg \
--components=<comma-separated-list-of-component-names> \
--cpd_instance_ns=<project-name> \
--noobaa_account_secret=<secret-name> \
--noobaa_cert_secret=<secret-name> \
[--preview=true|false]
Arguments
The setup-mcg command has no arguments.
Options
| Option | Description |
|---|---|
--components |
The components for which you need to create secrets to connect to Multicloud Object Gateway. The following services have a dependency
on Multicloud Object Gateway:
|
--cpd_instance_ns |
The project for the IBM Software Hub control plane and
services.
|
--noobaa_account_secret |
The name of the secret that contains the noobaa account credentials
for connecting to your Multicloud Object Gateway.
|
--noobaa_cert_secret |
The name of the secret that contains the noobaa account certificate
for connecting to your Multicloud Object Gateway.
|
--preview |
Preview the commands that run when you issue this CLI
command. The command issues a series of
The
|
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.
- Create the secrets that Watson Discovery will use to connect to Multicloud Object Gateway
-
The Watson Discovery secrets will point to the default Multicloud Object Gateway backing store.
cpd-cli manage setup-mcg \ --components=watson_discovery \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \ --noobaa_account_secret=noobaa-admin \ --noobaa_cert_secret=noobaa-s3-serving-cert