0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-23 22:27:35 -05:00
zot/pkg
peusebiu 168d21da1e
fix(storage): deleting manifests with identical digests (#951)
Suppose we push two identical manifests (sharing same digest) but with
different tags, then deleting by digest should throw an error otherwise
we end up deleting all image tags (with gc) or dangling references
(without gc)

This behaviour is controlled via Authorization, added a new policy
action named detectManifestsCollision which enables this behaviour

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>

Co-authored-by: Ramkumar Chinchani <rchincha@cisco.com>
2022-11-18 09:35:28 -08:00
..
api fix(storage): deleting manifests with identical digests (#951) 2022-11-18 09:35:28 -08:00
cli fix: signatures now showing correctly (#954) 2022-11-15 09:06:25 -08:00
common chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
compliance chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
debug feat(artifact): add OCI references support (#936) 2022-11-08 00:38:16 -08:00
exporter chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
extensions fix(storage): deleting manifests with identical digests (#951) 2022-11-18 09:35:28 -08:00
log chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
requestcontext fix(storage): deleting manifests with identical digests (#951) 2022-11-18 09:35:28 -08:00
scheduler fix(coverage): scheduler coverage (#893) 2022-10-21 18:33:22 +03:00
storage fix(storage): deleting manifests with identical digests (#951) 2022-11-18 09:35:28 -08:00
test fix(storage): deleting manifests with identical digests (#951) 2022-11-18 09:35:28 -08:00