FEAT(zot): enable anonymous read access for UI

- Add accessControl with anonymousPolicy for read operations
- Keep authentication required for push (create/update/delete)
- Fixes UI login redirect loop issue
This commit is contained in:
2026-01-09 23:43:44 +09:00
parent ec8e881a37
commit 72c1399f99

View File

@@ -117,6 +117,15 @@ configMaps:
"htpasswd": { "htpasswd": {
"path": "/etc/zot/htpasswd" "path": "/etc/zot/htpasswd"
} }
},
"accessControl": {
"**": {
"anonymousPolicy": ["read"],
"policies": [{
"users": ["admin"],
"actions": ["read", "create", "update", "delete"]
}]
}
} }
}, },
"log": { "log": {