manage
setup-mcg
Upgrade to IBM Software Hub Version 5.1 before IBM Cloud Pak for Data Version 4.8 reaches end of support. For more information, see Upgrading from IBM Cloud Pak for Data Version 4.8 to IBM Software Hub Version 5.1.
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:
- watsonx Assistant
- Watson Discovery
- Watson Speech services
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
Cloud Pak for Data 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
|
Table 1: Command options
Examples
It is strongly recommended that you use a script to create environment variables with the correct values for your environment. For details, see Best practice: 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