Remove user data for GDPR compliance
You can remove a user’s data on OpenShift Container Platform in compliance with the General Data Protection Regulation (GDPR) that enforces the right of individuals to have their personal data erased. The process for other Kubernetes infrastructures might vary. Follow the user management best practices of the provider you are using for the Eclipse Che installation.
This page is for platform administrators who install, configure, and manage Che on Kubernetes clusters. To learn more about common roles and example tasks referenced in Che documentation, see Common user roles and tasks.
| Removing user data as follows is irreversible! All removed data is deleted and unrecoverable! |
-
An active
ocsession with administrative permissions for the OpenShift Container Platform cluster. See Getting started with the OpenShift CLI.
-
List all the users in the OpenShift cluster using the following command:
$ oc get users -
Delete the user entry:
| If the user has any associated resources (such as projects, roles, or service accounts), you need to delete those first before deleting the user. |
$ oc delete user <username>