titan-iac/services/zot/configmap.yaml
2025-08-13 19:57:26 -05:00

37 lines
742 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: zot-config
namespace: zot
data:
config.json: |
{
"storage": {
"rootDirectory": "/var/lib/registry",
"dedupe": true,
"gc": true,
"gcDelay": "1h",
"gcInterval": "24h"
},
"http": {
"address": "0.0.0.0",
"port": "5000",
"auth": {
"htpasswd": { "path": "/etc/zot/htpasswd" }
},
"accessControl": {
"repositories": {
"**": {
"DefaultPolicy": ["read"],
"AnonymousPolicy": ["read"]
}
}
}
},
"log": { "level": "info" },
"extensions": {
"search": {},
"ui": {}
}
}