As a cluster administrator I expect the automatic image pruning to clear the image registry cache to avoid cached metadata of pruned images.
Background: Per the documentation, the image registry must be redeployed after pruning to clear its caches, otherwise some image pushes may not correctly upload all layers.
Notes
When the registry has more than 1 replica, to avoid downtime, replicas should be restarted one by one.
Open Questions
- Should it be a part of `oc` tool or part of CronJob?
- How the registry should be restated? Via the operator?