Authorizing an instance administrator to manage OADP backups (Upgrading from Version 5.2 to Version 5.4)

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.

Upgrade phase
  • You are not here. Updating your client workstation
  • You are not here. Collecting required information
  • You are not here. Preparing to run an upgrade in a restricted network
  • You are not here. Preparing to run an upgrade from a private container registry
  • You are not here. Upgrading prerequisite software
  • You are not here. Upgrading shared cluster components
  • You are here icon. Preparing to upgrade an instance
  • You are not here. Upgrading an instance
  • You are not here. Setting up IBM® Software Hub
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 the backups for this instance of IBM Software Hub.
  • Complete this task only if a user other than the cluster administrator will manage the backups for this instance of IBM Software Hub.

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

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}

What to do next

Now that you've given a user the required permissions on the projects where the backup and restore software is installed, you're ready to complete Applying your entitlements to monitor and report use against license terms (Upgrading from Version 5.2 to Version 5.4).