Tenant data removal
Rework Control does not have own database. Since currently a single tenant is only supported, to delete all data it is sufficient to uninstall Rework Control by deleting the deployment, and also deleting the related Persistent Volume claim.
Below are the commands to accomplish this:
-
Uninstall Rework Control:
Listing 1. Delete deployment commands
kubectl delete deployment -n rework rework-backend-service-deployment
kubectl delete deployment -n rework rework-web-service-deployment
kubectl delete deployment -n rework rework-gateway-service-deployment
-
Delete Persistent Volume Claim:
Listing 2. Delete persistent volume claim command
kubectl delete pvc -n rework rework-backend-config-dir
-
Uninstall Rework Control Core:
Delete deployment commands
kubectl delete deployment -n rework rework-control-core-backend-service-deployment
kubectl delete deployment -n rework rework-control-core-web-service-deployment
-
Delete Persistent Volume Claim:
Delete persistent volume claim command
kubectl delete pvc -n rework rework-control-core-backend-config-dir