mirror of
https://github.com/project-zot/zot.git
synced 2026-06-15 20:07:55 +08:00
sync: Add a new flag to enforce syncing only signed images, closes #455
sync: When checking if a image is already synced also check for changes in upstream signatures. Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
dd6cedcf78
commit
f53dc9eb8d
@@ -390,6 +390,7 @@ Configure each registry sync:
|
||||
"certDir": "/home/user/certs", # use certificates at certDir path, if not specified then use the default certs dir
|
||||
"maxRetries": 5, # maxRetries in case of temporary errors (default: no retries)
|
||||
"retryDelay": "10m", # delay between retries, retry options are applied for both on demand and periodically sync and retryDelay is mandatory when using maxRetries.
|
||||
"onlySigned": true, # sync only signed images (either notary or cosign)
|
||||
"content":[ # which content to periodically pull, also it's used for filtering ondemand images, if not set then periodically polling will not run
|
||||
{
|
||||
"prefix":"/repo1/repo", # pull image repo1/repo
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
"certDir": "/home/user/certs",
|
||||
"maxRetries": 3,
|
||||
"retryDelay": "5m",
|
||||
"onlySigned": true,
|
||||
"content":[
|
||||
{
|
||||
"prefix":"/repo1/repo",
|
||||
@@ -64,4 +65,4 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user