feat: GC to cleanup untagged manifests by default (#3408)

Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
Andrei Aaron
2025-09-27 08:09:54 +03:00
committed by GitHub
parent 1fdf1aad9d
commit 1e9d9b8e60
4 changed files with 83 additions and 5 deletions
+1
View File
@@ -648,6 +648,7 @@ func applyDefaultValues(config *config.Config, viperInstance *viper.Viper, log z
}
}
// set default values in case GC is disabled
if !config.Storage.GC {
if viperInstance.Get("storage::gcdelay") == nil {
config.Storage.GCDelay = 0