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