manage
authorize-instance-topology
Apply the required roles and role bindings to the projects that are associated with an instance of IBM Software Hub.
- Required role
- Cluster administrator You must be a cluster administrator to run this command.
Extended description
You must run this command before you run the setup-instance command.
authorize-instance-topology completes the
following tasks:
Run this command for each instance of IBM® Software Hub that you plan to install.
Syntax
cpd-cli manage authorize-instance-topology \
--cpd_operator_ns=<project-name> \
--cpd_instance_ns=<project-name> \
[--additional_ns=<comma-separated-list-of-project-names>] \
[--preview=true|false] \
[-v][-vv][-vvv]
Arguments
The authorize-instance-topology command has no
arguments.
Options
| Option | Description |
|---|---|
--additional_ns |
A
list of projects that you plan to tether to the IBM Software Hub control plane
project. Restriction: Only some services can deploy
workloads or service instances to tethered projects. To determine whether the services that you plan
to install can use tethered projects, see Multitenancy support.
|
--cpd_instance_ns |
The project for the IBM Software Hub control plane and
services.
|
--cpd_operator_ns |
The project for the operators for an instance of IBM Software
Hub.
|
--preview |
Preview the commands that run when you issue this CLI
command. The command issues a series of
|
-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.
- Authorize the specified operator project to watch the project where you plan to install IBM Software Hub
-
cpd-cli manage authorize-instance-topology \ --cpd_operator_ns=${PROJECT_CPD_INST_OPERATORS} \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} - Authorize the specified operator project to watch the project where you plan to install IBM Software Hub and a list of projects that you plan to tether to the operands project
-
cpd-cli manage authorize-instance-topology \ --cpd_operator_ns=${PROJECT_CPD_INST_OPERATORS} \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \ --additional_ns=${PROJECT_CPD_INSTANCE_TETHERED_LIST} - Preview the
occommands to authorize the specified operator project to watch the project where you plan to install IBM Software Hub -
cpd-cli manage authorize-instance-topology \ --cpd_operator_ns=${PROJECT_CPD_INST_OPERATORS} \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS} \ --preview=true