Enabling User Management in IBM Cloud Pak for Data (CPD) 4.8.6

This procedure is applicable only to newly installed IBM Cloud Pak for Data (CPD) instances. For upgraded instances, user management might already be enabled, and no additional action is required.

Before you begin

  • Ensure that the usermgmt service is responsible for managing users in CPD 4.8.6.
  • Confirm that your Cloud Pak for Data instance is installed on the cluster..

Procedure

  1. Log in to the OpenShift Container Platform (OCP).
    1. Use the oc login command to log in as a user with the necessary permissions.
      ${OC_LOGIN}

      Replace ${OC_LOGIN} with the appropriate oc login command if necessary.

  2. Set the CPD_ROUTE environment variable.
    1. Define the CPD_ROUTE environment variable to specify the route for your CPD instance. This is necessary for interacting with the CPD API.
      export CPD_ROUTE=$(oc get route cpd -n zen -o jsonpath={".spec.host"})
  3. Modify the configmap to enable user management.
    1. Update the product-configmap to include the zen_native_auth flag, which activates the native user management feature.
      Note: In order to enable user management, you need to update the product-configmap to include the zen_native_auth flag, which activates the user management feature.
      oc patch cm product-configmap \
      
         --namespace=zen \
      
         --type=merge \
      
         --patch '{"data": {"zen_native_auth": "enabled"}}'

      This command modifies the product-configmap in the zen namespace, enabling native authentication for user management in CPD.

  4. Restart the usermgmt deployment to apply the changes:
    oc rollout restart deployment usermgmt -n zen
  5. Restart the zen-core pods to ensure that the user management functionality is fully enabled across the system: