Authorizing an instance administrator to manage OADP backups

If you want to enable a user other than the cluster administrator to debug issues with backups or to collect data about OADP backups, you must give an instance administrator permissions on the projects where the backup and restore software is installed on your cluster.

Installation phase
  • You are not here. Setting up a client workstation
  • You are not here. Setting up a cluster
  • You are not here. Collecting required information
  • You are not here. Preparing to run installs in a restricted network
  • You are not here. Preparing to run installs from a private container registry
  • You are not here. Preparing the cluster for IBM Software Hub
  • You are here icon. Preparing to install an instance of IBM Software Hub
  • You are not here. Installing an instance of IBM Software Hub
  • You are not here. Setting up the control plane
  • You are not here. 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?
This task is required in some situations.
  • Skip this task if the cluster administrator will manage IBM Software Hub backups.
  • Complete this task only if a user other than the cluster administrator will manage IBM Software Hub.

    Repeat as needed If you have multiple instances of IBM Software Hub, repeat this task for each instance.

Before you begin

Ensure that the INSTANCE_ADMIN environment variable is set:
echo $INSTANCE_ADMIN
If the environment variable is not set, set it to the username of the Red Hat® OpenShift® Container Platform user that you want to give administration privileges to.
export INSTANCE_ADMIN=<user>

About this task

Give the instance administrator the following roles on the specified projects:

Role Projects Details
admin
  • OpenShift API for Data Protection (OADP) project
The Red Hat OpenShift Container Platform admin role enables a user to view and modify any resource in the project except for the project quota.

Procedure

Give the instance administrator the admin role on the required projects:
oc create rolebinding ${OADP_PROJECT}-${INSTANCE_ADMIN}-admin \
--clusterrole=admin \
--user=${INSTANCE_ADMIN} \
-n ${OADP_PROJECT}