Applying the required permissions by running the authorize-instance-topology command
Before you install an instance of IBM® Software Hub, you must ensure that the project where the
operators will be installed can watch the project where the control plane and services are installed. You can
run the authorize-instance-topology command to apply the
required permissions to the projects that are associated with an instance of IBM Software Hub.
Remember: The role created by the
authorize-instance-topology command includes a wildcard character. If
you want to give the NamespaceScope operator the minimum privileges necessary
to manage the projects associated with an instance of IBM Software Hub, complete Applying the required permissions by giving the NamespaceScope operator the minimum RBAC to manage an instance IBM Software Hub instead.Before you begin
- Installation phase
-
Setting up a client workstation
Setting up a cluster
Collecting required information
Preparing to run installs in a restricted network
Preparing to run installs from a private container registry
Preparing the cluster for IBM Software Hub
Preparing to install an instance of IBM Software Hub
Installing an instance of IBM Software Hub
Setting up the control plane
Installing solutions and services
- Who needs to complete this task?
-
Cluster administrator A cluster administrator must complete this task.
- When do you need to complete this task?
-
Repeat as needed If you plan to install multiple instances of IBM Software Hub, you must repeat this task for each instance that you plan to install.
Best practice: You can run the commands in
this task exactly as written if you set up environment variables. For instructions, see Setting up
installation environment variables.
Ensure that you source the environment variables before you run the commands in this task.
About this task
The
authorize-instance-topology command:- Creates the specified projects if they don't already exist.
- Creates the
NamespaceScopeoperator in the operators project. - Applies the require role to the operands project and any tethered projects.
- Binds the applied role to the service account of the
NamespaceScopeoperator.
Procedure
To apply the required permissions to the projects: