feature/sso #4
@ -18,25 +18,7 @@ data:
|
|||||||
"address": "0.0.0.0",
|
"address": "0.0.0.0",
|
||||||
"port": "5000",
|
"port": "5000",
|
||||||
"realm": "zot-registry",
|
"realm": "zot-registry",
|
||||||
"compat": ["docker2s2"],
|
"compat": ["docker2s2"]
|
||||||
"auth": {
|
|
||||||
"htpasswd": { "path": "/etc/zot/htpasswd" }
|
|
||||||
},
|
|
||||||
"accessControl": {
|
|
||||||
"repositories": {
|
|
||||||
"**": {
|
|
||||||
"policies": [
|
|
||||||
{ "users": ["bstein"], "actions": ["read", "create", "update", "delete"] }
|
|
||||||
],
|
|
||||||
"defaultPolicy": [],
|
|
||||||
"anonymousPolicy": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"adminPolicy": {
|
|
||||||
"users": ["bstein"],
|
|
||||||
"actions": ["read", "create", "update", "delete"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"log": { "level": "info" },
|
"log": { "level": "info" },
|
||||||
"extensions": {
|
"extensions": {
|
||||||
|
|||||||
@ -42,10 +42,6 @@ spec:
|
|||||||
mountPath: /etc/zot/config.json
|
mountPath: /etc/zot/config.json
|
||||||
subPath: config.json
|
subPath: config.json
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: htpasswd
|
|
||||||
mountPath: /etc/zot/htpasswd
|
|
||||||
subPath: htpasswd
|
|
||||||
readOnly: true
|
|
||||||
- name: zot-data
|
- name: zot-data
|
||||||
mountPath: /var/lib/registry
|
mountPath: /var/lib/registry
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
@ -64,9 +60,6 @@ spec:
|
|||||||
- name: cfg
|
- name: cfg
|
||||||
configMap:
|
configMap:
|
||||||
name: zot-config
|
name: zot-config
|
||||||
- name: htpasswd
|
|
||||||
secret:
|
|
||||||
secretName: zot-htpasswd
|
|
||||||
- name: zot-data
|
- name: zot-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: zot-data
|
claimName: zot-data
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user