mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
4e5db84cb1
BREAKING CHANGE: the dist spec version in the config files needs to be bumped to 1.1.0 in order for the config verification to pass without warnings. Also fix 1 dependabot alert for helm. Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
68 lines
2 KiB
JSON
68 lines
2 KiB
JSON
{
|
|
"distSpecVersion": "1.1.0",
|
|
"storage": {
|
|
"rootDirectory": "/tmp/zot",
|
|
"gc": true,
|
|
"gcDelay": "2h",
|
|
"gcInterval": "1h",
|
|
"retention": {
|
|
"dryRun": false,
|
|
"delay": "24h",
|
|
"policies": [
|
|
{
|
|
"repositories": ["infra/*", "prod/*"],
|
|
"deleteReferrers": false,
|
|
"keepTags": [{
|
|
"patterns": ["v2.*", ".*-prod"]
|
|
},
|
|
{
|
|
"patterns": ["v3.*", ".*-prod"],
|
|
"pulledWithin": "168h"
|
|
}]
|
|
},
|
|
{
|
|
"repositories": ["tmp/**"],
|
|
"deleteReferrers": true,
|
|
"deleteUntagged": true,
|
|
"keepTags": [{
|
|
"patterns": ["v1.*"],
|
|
"pulledWithin": "168h",
|
|
"pushedWithin": "168h"
|
|
}]
|
|
},
|
|
{
|
|
"repositories": ["**"],
|
|
"deleteReferrers": true,
|
|
"deleteUntagged": true,
|
|
"keepTags": [{
|
|
"mostRecentlyPushedCount": 10,
|
|
"mostRecentlyPulledCount": 10,
|
|
"pulledWithin": "720h",
|
|
"pushedWithin": "720h"
|
|
}]
|
|
}
|
|
]
|
|
},
|
|
"subPaths": {
|
|
"/a": {
|
|
"rootDirectory": "/tmp/zot1",
|
|
"dedupe": true,
|
|
"retention": {
|
|
"policies": [
|
|
{
|
|
"repositories": ["infra/*", "prod/*"],
|
|
"deleteReferrers": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"http": {
|
|
"address": "127.0.0.1",
|
|
"port": "8080"
|
|
},
|
|
"log": {
|
|
"level": "debug"
|
|
}
|
|
}
|