Geo - Project removal leaves orphaned data on container registry
Summary
When a project is deleted or removed from selective sync, Geo leaves data on the container registry behind.
Steps to reproduce
- Enable the Docker Registry replication in GDK;
- Create a project;
- Push an image to the container registry;
- Wait for the replication to finish;
- Delete the project above or enable the selective sync on the group level that does not include the project created in the step above;
- Wait for the replication to finish;
- Use the commands in https://gitlab.com/gitlab-org/gitlab-development-kit/-/blob/master/doc/howto/registry.md#interacting-with-the-local-container-registry to list the images on the container registry running on the secondary node;