Skip to content

Commit bd32c62

Browse files
authored
docs: update examples with the sync config example (#3573)
See #3537 Note this sync timeout is for the entire image. It is not per HTTP request. Signed-off-by: Andrei Aaron <andreifdaaron@gmail.com>
1 parent 69dd648 commit bd32c62

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

examples/config-docker-compat-sync.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"onDemand": true,
2626
"tlsVerify": true,
2727
"retryDelay": "5m",
28-
"preserveDigest": true
28+
"preserveDigest": true,
29+
"syncTimeout": "10m"
2930
}
3031
]
3132
}

examples/config-sync-cloud-storage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
],
3838
"onDemand": false,
3939
"tlsVerify": false,
40-
"PollInterval": "30m",
40+
"pollInterval": "30m",
4141
"content": [
4242
{
4343
"prefix": "**"

examples/config-sync-ecr-credential-helper.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"extensions": {
2323
"sync": {
2424
"credentialsFile": "",
25-
"DownloadDir": "/tmp/zot",
25+
"downloadDir": "/tmp/zot",
2626
"registries": [
2727
{
2828
"urls": [

examples/config-sync.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
"onDemand": true,
7575
"tlsVerify": true,
7676
"maxRetries": 5,
77-
"retryDelay": "30s"
77+
"retryDelay": "30s",
78+
"syncTimeout": "10m"
7879
},
7980
{
8081
"urls": [

0 commit comments

Comments
 (0)