Allow anonymous access to zot /metrics endpoint

Add accessControl.metrics.users with empty string to allow
unauthenticated Prometheus/Alloy scraping. Zot represents
anonymous users with an empty username internally.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-02-21 12:37:59 -08:00
commit 8775c3841a

View file

@ -26,6 +26,9 @@
"apikey": true
},
"accessControl": {
"metrics": {
"users": [""]
},
"repositories": {
"**": {
"policies": [