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. |
-
An active
kubectlsession with administrative permissions for the OpenShift Container Platform cluster. See Getting started with the OpenShift CLI.
-
List all the users in the Kubernetes cluster:
$ kubectl get users -
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>
-
Verify the user no longer appears in the cluster:
$ kubectl get users