Expected behavior and actual behavior:
We are running shceduled GC every 1h, as per documentation Artifacts uploaded in the past 2 hours(the default window) are excluded from garbage collection. But actually, they are not excluded.
Steps to reproduce the problem:
Push an untagged image to the registry.
Perform GC just after this, it will delete the image
Versions:
Harbor, Version v2.10.2-1a741cb7, running in a K3s cluster.
Expected behavior and actual behavior: We are running shceduled GC every 1h, as per documentation
Artifacts uploaded in the past 2 hours(the default window) are excluded from garbage collection
. But actually, they are not excluded.Steps to reproduce the problem: Push an untagged image to the registry. Perform GC just after this, it will delete the image
Versions: Harbor, Version v2.10.2-1a741cb7, running in a K3s cluster.