mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
add registry rules
This commit is contained in:
@@ -36,6 +36,9 @@ data:
|
||||
},
|
||||
"auth": {
|
||||
"failDelay": 5,
|
||||
"htpasswd": {
|
||||
"path": "/etc/zot/htpasswd"
|
||||
},
|
||||
"openid": {
|
||||
"providers": {
|
||||
"oidc": {
|
||||
@@ -53,12 +56,22 @@ data:
|
||||
"actions": ["read", "create", "update", "delete"]
|
||||
},
|
||||
"repositories": {
|
||||
"public/**": {
|
||||
"anonymousPolicy": ["read"],
|
||||
"defaultPolicy": ["read"],
|
||||
"policies": [
|
||||
{
|
||||
"users": ["*"],
|
||||
"actions": ["create", "update", "delete"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"**": {
|
||||
"defaultPolicy": ["read"],
|
||||
"policies": [
|
||||
{
|
||||
"users": ["*"],
|
||||
"actions": ["push", "delete"]
|
||||
"actions": ["create", "update", "delete"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user