give my zot user permissions
This commit is contained in:
parent
071f40f01d
commit
ab12175b6f
@ -1,3 +1,4 @@
|
||||
# services/zot/config.map
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
@ -11,26 +12,32 @@ data:
|
||||
"dedupe": true,
|
||||
"gc": true,
|
||||
"gcDelay": "1h",
|
||||
"gcInterval": "24h"
|
||||
"gcInterval": "1h"
|
||||
},
|
||||
"http": {
|
||||
"address": "0.0.0.0",
|
||||
"port": "5000",
|
||||
"auth": {
|
||||
"htpasswd": { "path": "/etc/zot/htpasswd" }
|
||||
},
|
||||
"auth": { "htpasswd": { "path": "/etc/zot/htpasswd" } },
|
||||
"accessControl": {
|
||||
"repositories": {
|
||||
"**": {
|
||||
"DefaultPolicy": ["read"],
|
||||
"AnonymousPolicy": ["read"]
|
||||
"policies": [
|
||||
{ "users": ["bstein"], "actions": ["read", "create", "update", "delete"] }
|
||||
],
|
||||
"defaultPolicy": ["read"],
|
||||
"anonymousPolicy": ["read"]
|
||||
}
|
||||
},
|
||||
"adminPolicy": {
|
||||
"users": ["bstein"],
|
||||
"actions": ["read", "create", "update", "delete"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"log": { "level": "info" },
|
||||
"extensions": {
|
||||
"search": {},
|
||||
"ui": {}
|
||||
"ui": { "enable": true },
|
||||
"search": { "enable": true },
|
||||
"metrics": { "enable": true }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user