-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathconfig.yaml
123 lines (123 loc) · 3.08 KB
/
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
hubID: ""
log:
level: info
encoding: json
stacktrace:
enabled: false
level: warn
encoderConfig:
timeEncoder: rfc3339nano
apis:
grpc:
address: "0.0.0.0:9100"
sendMsgSize: 4194304
recvMsgSize: 4194304
enforcementPolicy:
minTime: 5s
permitWithoutStream: true
keepAlive:
# 0s - means infinity
maxConnectionIdle: 0s
# 0s - means infinity
maxConnectionAge: 0s
# 0s - means infinity
maxConnectionAgeGrace: 0s
time: 2h
timeout: 20s
tls:
caPool: "/secrets/public/rootca.crt"
keyFile: "/secrets/private/cert.key"
certFile: "/secrets/public/cert.crt"
clientCertificateRequired: true
crl:
enabled: false
authorization:
ownerClaim: "sub"
audience: ""
endpoints:
- authority: ""
http:
maxIdleConns: 16
maxConnsPerHost: 32
maxIdleConnsPerHost: 16
idleConnTimeout: "30s"
timeout: "10s"
tls:
caPool: "/secrets/public/rootca.crt"
keyFile: "/secrets/private/cert.key"
certFile: "/secrets/public/cert.crt"
useSystemCAPool: false
crl:
enabled: false
tokenTrustVerification:
cacheExpiration: 30s
clients:
eventBus:
nats:
url: ""
jetstream: false
flusherTimeout: 30s
tls:
caPool: "/secrets/public/rootca.crt"
keyFile: "/secrets/private/cert.key"
certFile: "/secrets/public/cert.crt"
useSystemCAPool: false
crl:
enabled: false
storage:
use: "mongoDB"
mongoDB:
uri: "mongodb://localhost:27017"
database: "ownersDevices"
# limits number of connections.
maxPoolSize: 16
# close connection when idle time reach the value.
maxConnIdleTime: 4m0s
tls:
caPool: "/secrets/public/rootca.crt"
keyFile: "/secrets/private/cert.key"
certFile: "/secrets/public/cert.crt"
useSystemCAPool: false
crl:
enabled: false
cqlDB:
table: "deviceOwners"
hosts: []
port: 9142
numConnections: 16
connectTimeout: 10s
useHostnameResolution: true
reconnectionPolicy:
constant:
interval: 3s
maxRetries: 3
keyspace:
name: plgdhub
create: true
replication:
class: SimpleStrategy
replication_factor: 1
tls:
caPool: "/secrets/public/rootca.crt"
keyFile: "/secrets/private/cert.key"
certFile: "/secrets/public/cert.crt"
useSystemCAPool: false
crl:
enabled: false
openTelemetryCollector:
grpc:
enabled: false
address: ""
sendMsgSize: 4194304
recvMsgSize: 4194304
keepAlive:
time: 10s
timeout: 20s
permitWithoutStream: true
tls:
caPool: "/secrets/public/rootca.crt"
keyFile: "/secrets/private/cert.key"
certFile: "/secrets/public/cert.crt"
useSystemCAPool: false
crl:
enabled: false