2025-08-13 20:37:20 -05:00
|
|
|
# services/zot/config.map
|
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",
|
2025-08-13 20:37:20 -05:00
|
|
|
"gcInterval": "1h"
|
2025-08-13 19:57:26 -05:00
|
|
|
},
|
2025-08-13 17:21:23 -05:00
|
|
|
"http": {
|
|
|
|
|
"address": "0.0.0.0",
|
|
|
|
|
"port": "5000",
|
2025-09-08 23:08:32 -05:00
|
|
|
"realm": "zot-registry",
|
2025-09-15 01:03:32 -05:00
|
|
|
"compat": ["docker2s2"],
|
2025-09-08 23:08:32 -05:00
|
|
|
"auth": {
|
2025-12-08 23:23:21 -03:00
|
|
|
"openid": {
|
2025-12-08 23:36:19 -03:00
|
|
|
"providers": {
|
2025-12-09 01:29:05 -03:00
|
|
|
"oidc": {
|
2025-12-08 23:23:21 -03:00
|
|
|
"issuer": "https://sso.bstein.dev/realms/atlas",
|
2025-12-09 20:49:25 -03:00
|
|
|
"clientID": "oauth2-proxy",
|
2025-12-08 23:23:21 -03:00
|
|
|
"clientSecret": "__CLIENT_SECRET__",
|
2025-12-09 01:15:53 -03:00
|
|
|
"scopes": ["openid", "profile", "email", "groups"]
|
2025-12-08 23:23:21 -03:00
|
|
|
}
|
2025-12-08 23:36:19 -03:00
|
|
|
}
|
2025-12-08 23:23:21 -03:00
|
|
|
}
|
2025-09-08 23:08:32 -05:00
|
|
|
},
|
2025-12-08 23:23:21 -03:00
|
|
|
"externalUrl": "https://registry.bstein.dev",
|
2025-08-13 17:21:23 -05:00
|
|
|
"accessControl": {
|
2025-08-13 18:09:28 -05:00
|
|
|
"repositories": {
|
2025-09-09 11:27:42 -05:00
|
|
|
"**": {
|
2025-12-11 01:50:25 -03:00
|
|
|
"policies": [],
|
|
|
|
|
"defaultPolicy": [
|
|
|
|
|
{ "actions": ["read", "create", "update", "delete"] }
|
2025-09-09 01:16:33 -05:00
|
|
|
],
|
2025-12-11 01:50:25 -03:00
|
|
|
"anonymousPolicy": [
|
|
|
|
|
{ "actions": ["read", "create", "update", "delete"] }
|
|
|
|
|
]
|
2025-08-13 17:21:23 -05:00
|
|
|
}
|
2025-08-13 20:37:20 -05:00
|
|
|
},
|
|
|
|
|
"adminPolicy": {
|
2025-12-08 23:23:21 -03:00
|
|
|
"groups": ["admin"],
|
2025-08-13 20:37:20 -05:00
|
|
|
"actions": ["read", "create", "update", "delete"]
|
2025-08-13 18:09:28 -05:00
|
|
|
}
|
2025-08-13 17:21:23 -05:00
|
|
|
}
|
2025-08-13 19:57:26 -05:00
|
|
|
},
|
2025-12-10 02:56:11 -03:00
|
|
|
"log": { "level": "debug" },
|
2025-08-13 19:57:26 -05:00
|
|
|
"extensions": {
|
2025-09-08 23:08:32 -05:00
|
|
|
"ui": { "enable": true },
|
|
|
|
|
"search": { "enable": true },
|
2025-08-13 20:37:20 -05:00
|
|
|
"metrics": { "enable": true }
|
2025-08-13 18:09:28 -05:00
|
|
|
}
|
2025-08-13 17:21:23 -05:00
|
|
|
}
|