mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
4bc4261e84
Agent-Logs-Url: https://github.com/project-zot/zot/sessions/2e5ae107-9578-43c4-b5f8-6e84e19fba6e Co-authored-by: rchincha <45800463+rchincha@users.noreply.github.com>
42 lines
888 B
JSON
42 lines
888 B
JSON
{
|
|
"distSpecVersion": "1.1.1",
|
|
"storage": {
|
|
"rootDirectory": "/tmp/zot"
|
|
},
|
|
"http": {
|
|
"address": "127.0.0.1",
|
|
"port": "8080",
|
|
"auth": {
|
|
"bearer": {
|
|
"realm": "zot",
|
|
"service": "zot-service",
|
|
"oidc": [
|
|
{
|
|
"issuer": "https://kubernetes.default.svc.cluster.local",
|
|
"audiences": ["zot", "https://zot.example.com"],
|
|
"allowBasicAuth": true,
|
|
"claimMapping": {
|
|
"username": "claims.sub"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"accessControl": {
|
|
"repositories": {
|
|
"**": {
|
|
"policies": [
|
|
{
|
|
"users": ["system:serviceaccount:flux-system:source-controller"],
|
|
"actions": ["read", "create", "update", "delete"]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"log": {
|
|
"level": "info"
|
|
}
|
|
}
|