titan-iac/services/zot/configmap.yaml

37 lines
742 B
YAML
Raw Normal View History

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