Target for cheking not commited config files.

Signed-off-by: laurentiuNiculae <themelopeus@gmail.com>

Separated updateDistSpec functionality

Removed rewriting of config when distSpecVersion was wrong
This commit is contained in:
laurentiuNiculae
2022-03-30 16:02:03 +03:00
committed by Ramkumar Chinchani
parent efc55b013e
commit 0d4cc8736d
4 changed files with 79 additions and 90 deletions
+19 -22
View File
@@ -1,32 +1,29 @@
---
distSpecVersion:
0.1.0-dev
storage:
rootDirectory: /tmp/zot
distspecversion: 1.0.1
http:
address: 127.0.0.1
allowreadaccess: false
auth:
faildelay: 5
htpasswd:
path: test/data/htpasswd
ldap:
address: ldap.example.org
basedn: ou=Users,dc=example,dc=org
binddn: cn=ldap-searcher,ou=Users,dc=example,dc=org
bindpassword: ldap-searcher-password
port: 389
skipverify: false
starttls: false
subtreesearch: true
userattribute: uid
port: 8080
realm: zot
tls:
cert: test/data/server.cert
key: test/data/server.key
auth:
ldap:
address: ldap.example.org
port: 389
startTLS: false
baseDN: ou=Users,dc=example,dc=org
userAttribute: uid
bindDN: cn=ldap-searcher,ou=Users,dc=example,dc=org
bindPassword: ldap-searcher-password
skipVerify: false
subtreeSearch: true
htpasswd:
path: test/data/htpasswd
failDelay: 5
allowReadAccess: false
log:
audit: /tmp/zot-audit.log
level: debug
output: /tmp/zot.log
audit: /tmp/zot-audit.log
storage:
rootdirectory: /tmp/zot