feature/sso #4

Merged
bstein merged 30 commits from feature/sso into main 2025-12-11 20:43:36 +00:00
2 changed files with 1 additions and 26 deletions
Showing only changes of commit cb2b2ec1cd - Show all commits

View File

@ -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": {

View File

@ -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