-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-config.yaml
62 lines (61 loc) · 1.7 KB
/
example-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
logging:
level: Info
format: text
databaseType: yaml
users:
- username: user # Username
password: "XohImNooBHFR0OVvjcYpJ3NgPQ1qq73WKhHvch0VQtg=" # Hashed password from ./kvdb -generate=password
hosts:
- "::1"
- 127.0.0.1
permissionsset:
- namespaces:
- "*"
permissions:
read: true
write: true
list: true
- username: test # Username
password: "n3NeDfmh3ccCvwoae4MDP59xU6AMKd6CztrcmVcomwU=" # Hashed password from ./kvdb -generate=testpassword
hosts:
- 172.17.0.6
permissionsset:
- namespaces:
- "hello"
permissions:
read: true
write: true
list: true
- namespaces:
- "world"
permissions:
read: true
write: false
list: false
publicReadableNamespaces:
- public
trustedProxies: # List of hosts that are trusted reading HostHeadders for. If request not from list only ip origin will be used
- 172.17.0.1
redis:
address: "127.0.0.1:6379"
# envVariableName: # Set if different from KVDB_REDIS_PASSWORD
mysql:
address: "127.0.0.1:3306"
# username: "kvdb"
# databaseName: "kvdb"
# tableName: "kvdb"
# envVariableName: # Set if different from KVDB_MYSQL_PASSWORD
prometheus:
enabled: true # enable /system/metrics prometheus endpoint (for all users and hosts)
# endpoint: # Set if different from metrics
# mtls:
# enabled: false # Enable mTLS port
# port: 8443 # Port to use for mTLS
# certificate: server.crt # Server certificate
# key: server.key # Server Certificate key
# caCertificate: ca.crt # Server certificate chain
# externalMTLS: false # Do not use internal certificate signing but expect external proxy
# permissions: # permissions for mtls port
# read: true
# write: false
# list: true