robocar-setup/ansible/roles/microservices/files/robocar/registry/configmaps.yaml
2024-01-13 18:26:23 +01:00

43 lines
948 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: zot-config
data:
config.json: |
{
"storage": {
"rootDirectory": "/var/lib/registry"
},
"http": {
"address": "0.0.0.0",
"port": "5000"
},
"log": {
"level": "debug"
},
"extensions": {
"sync": {
"credentialsFile": "/etc/zot/credentials.json",
"registries": [
{
"urls": [
"https://ghcr.io"
],
"onDemand": true,
"pollInterval": "6h",
"tlsVerify": false,
"maxRetries": 3,
"retryDelay": "5m",
"onlySigned": false,
"content": [
{
"prefix": "/cyrilix/model-steering",
"destination": "/robocars/model-steering"
}
]
}
]
}
}
}