From bd32c62eb650ccc7ccbb0c51f025d5127603ec2b Mon Sep 17 00:00:00 2001 From: Andrei Aaron Date: Fri, 21 Nov 2025 21:44:30 +0200 Subject: [PATCH] docs: update examples with the sync config example (#3573) See https://github.com/project-zot/zot/pull/3537 Note this sync timeout is for the entire image. It is not per HTTP request. Signed-off-by: Andrei Aaron --- examples/config-docker-compat-sync.json | 3 ++- examples/config-sync-cloud-storage.json | 2 +- examples/config-sync-ecr-credential-helper.json | 2 +- examples/config-sync.json | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/config-docker-compat-sync.json b/examples/config-docker-compat-sync.json index a28b3b69..0d036648 100644 --- a/examples/config-docker-compat-sync.json +++ b/examples/config-docker-compat-sync.json @@ -25,7 +25,8 @@ "onDemand": true, "tlsVerify": true, "retryDelay": "5m", - "preserveDigest": true + "preserveDigest": true, + "syncTimeout": "10m" } ] } diff --git a/examples/config-sync-cloud-storage.json b/examples/config-sync-cloud-storage.json index fd7956d1..4e47a808 100644 --- a/examples/config-sync-cloud-storage.json +++ b/examples/config-sync-cloud-storage.json @@ -37,7 +37,7 @@ ], "onDemand": false, "tlsVerify": false, - "PollInterval": "30m", + "pollInterval": "30m", "content": [ { "prefix": "**" diff --git a/examples/config-sync-ecr-credential-helper.json b/examples/config-sync-ecr-credential-helper.json index 52889426..a118f866 100644 --- a/examples/config-sync-ecr-credential-helper.json +++ b/examples/config-sync-ecr-credential-helper.json @@ -22,7 +22,7 @@ "extensions": { "sync": { "credentialsFile": "", - "DownloadDir": "/tmp/zot", + "downloadDir": "/tmp/zot", "registries": [ { "urls": [ diff --git a/examples/config-sync.json b/examples/config-sync.json index 48c8bd39..a8391fe5 100644 --- a/examples/config-sync.json +++ b/examples/config-sync.json @@ -74,7 +74,8 @@ "onDemand": true, "tlsVerify": true, "maxRetries": 5, - "retryDelay": "30s" + "retryDelay": "30s", + "syncTimeout": "10m" }, { "urls": [