Remove user data for GDPR compliance

Remove a user’s data from OpenShift Container Platform when a developer leaves your organization, to comply with the General Data Protection Regulation (GDPR). 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.

Removing user data as follows is irreversible. All removed data is deleted and unrecoverable.

Prerequisites
Procedure
  1. List all the users in the Kubernetes cluster:

    $ kubectl get users
  2. Delete the user entry:

    If the user has any associated resources (such as projects, roles, or service accounts), you must delete those first before deleting the user.

    $ kubectl delete user <username>
Verification
  • Verify the user no longer appears in the cluster:

    $ kubectl get users