Enable Repository lease check in gstg, pre and gprd
Incrementally enable (via the environment feature flag created in #1035 (closed)) and monitor the impact of #925 (closed) in gstg, pre and gprd
Context
With this feature enabled we will now be checking (redis) if a "project path" (as found in the JWT passed to the registry - during a request) is locked for renaming before proceeding with a any requests that write to a repository.
Special attention must be paid to the following dashboard when rolling out:
- https://dashboards.gitlab.net/d/registry-redis/registry-redis-detail?orgId=1
- https://dashboards.gitlab.net/d/redis-registry-cache-main/redis-registry-cache-overview?orgId=1
Once we have gained sufficient feedback from the feature enablement we must disable the feature on all of gprd
until the work to enact rename leases has been implemented #924 (moved) (see note-> #1036 (comment 1480064981))
No longer necessary as the change has minimal risk on the registry re: !1333 (comment 1485714047)