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
- Log in to the OpenShift Container Platform (OCP).
- 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.
- Set the
CPD_ROUTE environment variable.
- 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"})
- Modify the
configmap to enable user management.
- 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.
- Restart the
usermgmt deployment to apply the changes:
oc rollout restart deployment usermgmt -n zen
- Restart the
zen-core pods to ensure that the user management
functionality is fully enabled across the system: