forked from FraunhoferIOSB/FROST-Server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
394 lines (357 loc) · 9.94 KB
/
values.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
# If empty, use the chart name as common base name for any FROST-Server Kubernetes component
name:
frost:
######################################
# FROST-Server general configuration #
######################################
alwaysOrderbyId: true
logSensitiveData: false
queueLoggingInterval: 0
# Extra global environment variables added to both MQTT and HTTP pods.
# This can be simple key-value pairs
envExtra:
#some_var_one: one
#####################################
# FROST-Server plugin configuration #
#####################################
plugins:
providedPlugins:
plugins:
actuation:
enable: false
idType:
actuator:
task:
taskingCapability:
coreModel:
enable: true
editableDsProperties: false
idType:
default: LONG
datastream:
feature:
historicalLocation:
location:
observedProperty:
observation:
sensor:
thing:
multiDatastream:
enable: false
idType:
multiDatastream:
modelLoader:
enable: false
modelPath:
modelFiles:
liquibasePath:
liquibaseFiles:
securityPath:
securityFiles:
dataArray:
enable: true
csv:
enable: true
geojson:
enable: true
batchProcessing:
enable: true
odata:
enable: false
openApi:
enable: false
########################################
# FROST-Server Extension configuration #
########################################
extension:
customLinks:
enable:
recurseDepth:
filterDelete:
enable:
auth:
provider:
allowAnonymousRead: false
authenticateOnly:
role:
read:
create:
update:
delete:
admin:
realmName: FROST-Server
plainTextPassword: true
db:
autoUpdate: "{{ .Values.frost.http.db.autoUpdate }}"
maximumConnection: "{{ .Values.frost.http.db.maximumConnection }}"
maximumIdleConnection: "{{ .Values.frost.http.db.maximumIdleConnection }}"
minimumIdleConnection: "{{ .Values.frost.http.db.minimumIdleConnection }}"
keycloakConfig:
keycloakConfigFile:
keycloakConfigUrl:
keycloakConfigSecret:
logging:
default:
parser:
queries:
requests:
service:
settings:
moquette:
liquibase:
jooq:
##########################################
# FROST-Server HTTP module configuration #
##########################################
http:
enabled: true
image:
registry: docker.io
repository: fraunhoferiosb/frost-server-http
tag: latest
pullPolicy: IfNotPresent
imagePullSecret:
# FROST-Server HTTP deployment settings
replicas: 1
serviceType: ClusterIP
ports:
http:
nodePort:
servicePort: 80
ingress:
enabled: true
## Set a specific ingress-class for the ingress ([default] not set)
# className: nginx-hamel
## Defines the type of ingress-Controller in use (nginx [default], agic )
# ingressProvider: agic
## Additional annotations
# annotations:
# cert-manager.io/cluster-issuer: letsencrypt
# cert-manager.io/issue-temporary-certificate: "true"
tls:
enabled: false
secretName: []
# FROST-Server HTTP deployment resource option. An empty resources field will default to the limits of the namespace.
resources:
# limits:
# cpu: 1000m
# memory: 1Gi
requests:
cpu: 500m
memory: 1Gi
# FROST-Server HTTP lifecycle options.
lifecycle:
# FROST-Server HTTP volumeMounts options.
volumeMounts:
# FROST-Server HTTP volumes.
volumes:
securityContext:
# FROST-Server HTTP business settings
serviceHost: frost-server
urlSubPath: ""
serviceProtocol: http
servicePort:
defaultCount: false
defaultTop: 100
maxTop: 1000
maxDataSize: 25000000
useAbsoluteNavigationLinks: true
# FROST-Server Cross-Origin Resource Sharing settings to the FROST-Server HTTP
cors:
enable: false
allowed:
headers: Origin, Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers, Authorization
methods: GET, HEAD, OPTIONS
origins: '*'
exposed:
headers: Location
preflight:
maxage: 1800
request:
decorate: true
support:
credentials: false
# FROST-Server Database related settings to the FROST-Server HTTP
db:
autoUpdate: true
maximumConnection: 10
maximumIdleConnection: 10
minimumIdleConnection: 10
# FROST-Server Messages Bus related settings to the FROST-Server HTTP
bus:
sendWorkerPoolSize: 10
sendQueueSize: 2000
recvWorkerPoolSize: 10
recvQueueSize: 2000
maxInFlight: 50
# Extra environment variables added to HTTP pods.
envExtra:
##########################################
# FROST-Server MQTT module configuration #
##########################################
mqtt:
enabled: true
image:
registry: docker.io
repository: fraunhoferiosb/frost-server-mqtt
tag: latest
pullPolicy: IfNotPresent
imagePullSecret:
# FROST-Server MQTT deployment settings
annotations: {}
serviceType: ClusterIP
replicas: 1
ports:
mqtt:
nodePort:
servicePort: 1883
websocket:
nodePort:
servicePort: 9876
host: 0.0.0.0
internalHost: localhost
secureWebsocketPort:
stickySessionTimeout: 10800
exposedEndpoints:
javaKeystorePath:
keyManagerPassword:
keyStorePassword:
persistentStoreType: memory
session_queue_size: 1024
session_timeout_seconds: 3600
sslPort:
netty:
mqtt:
message_size: 8092
ingress:
enabled: true
## Set a specific ingress-class for the ingress ([default] not set)
# className: azure-application-gateway
## Defines the type of ingress-Controller in use (nginx [default], agic or traefik)
# ingressProvider: agic
## Additional annotations
annotations:
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
# cert-manager.io/cluster-issuer: letsencrypt
# cert-manager.io/issue-temporary-certificate: "true"
tls:
enabled: false
secretName: []
# FROST-Server MQTT business settings
serviceHost: "" # default URI is the same then frost.http.serviceHost"
urlSubPath: "" # default is mqtt
serviceProtocol: http
qos: 2
subscribeMessageQueueSize: 100
subscribeThreadPoolSize: 10
createMessageQueueSize: 100
createThreadPoolSize: 10
maxInFlight: 50
waitForEnter: false
# FROST-Server Database related settings to the FROST-Server MQTT
db:
autoUpdate: false
maximumConnection: 10
maximumIdleConnection: 10
minimumIdleConnection: 10
# FROST-Server Messages Bus related settings to the FROST-Server MQTT
bus:
sendWorkerPoolSize: 10
sendQueueSize: 2000
recvWorkerPoolSize: 10
recvQueueSize: 2000
maxInFlight: 50
# FROST-Server MQTT lifecycle options.
lifecycle:
# FROST-Server MQTT volumeMounts options.
volumeMounts:
# FROST-Server MQTT volumes.
volumes:
securityContext:
# Extra environment variables added to MQTT pods.
envExtra:
##############################################
# FROST-Server Database module configuration #
##############################################
db:
enableIntegratedDb: true
dbExternalConnectionString: "jdbc:postgresql://externaldbhost:5432/sensorthings"
image:
registry: docker.io
repository: postgis/postgis
tag: 14-3.2-alpine
pullPolicy: IfNotPresent
imagePullSecret:
# FROST-Server Database deployment settings
ports:
postgresql:
servicePort: 5432
persistence:
enabled: false
existingClaim:
storageClassName:
accessModes:
- ReadWriteOnce
capacity: 10Gi
mountPath: /var/lib/postgresql/data
hostPath:
requiredHostname:
# Common FROST-Server Database properties, shared by any other FROST-Server modules
driver: "org.postgresql.Driver"
implementationClass: "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.PostgresPersistenceManager"
idGenerationMode: "ServerGeneratedOnly"
transactionRole: false
countMode: "FULL"
database: sensorthings
# Set this to your own created secret if needed
existingSecret:
secretUsernameKey: db.username
secretPasswordKey: db.password
username: c2Vuc29ydGhpbmdz
password: bm93eW91Y2FuY2hhbmdlaXQ=
securityContext:
runAsUser:
runAsGroup:
fsGroup:
##############################################
# FROST-Server Backup module configuration #
##############################################
backup:
enabled: false
image:
registry: docker.io
repository: kartoza/pg-backup
tag: 14-3.2
pullPolicy: IfNotPresent
imagePullSecret:
removeBefore: 14
persistence:
existingClaim:
storageClassName:
accessModes:
- ReadWriteOnce
capacity: 10Gi
mountPath: /backups
securityContext:
runAsUser:
runAsGroup:
fsGroup:
##################################################
# FROST-Server Messages Bus module configuration #
##################################################
bus:
image:
registry: docker.io
repository: eclipse-mosquitto
tag: 1.4.12
pullPolicy: IfNotPresent
imagePullSecret:
# FROST-Server Messages Bus deployment settings
ports:
bus:
servicePort: 1883
# Common FROST-Server Messages Bus properties, shared by any other FROST-Server modules
implementationClass: "de.fraunhofer.iosb.ilt.sta.messagebus.MqttMessageBus"
topicName: "FROST-Bus"
qos: 2