-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
639 lines (587 loc) · 16.4 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
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
# Default values for incore.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# what level is the server, this is used to read some config files
level: prod
replicaCount: 1
image:
project: hub.ncsa.illinois.edu/incore
pullPolicy: IfNotPresent
pullSecrets:
- name: regcred
imagePullSecrets:
- name: regcred
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
# this will check for services if cors is allowed
cors:
origin: []
methods: GET,POST,DELETE,PUT,PATCH,OPTIONS
headers: authorization,content-type,accept
podAnnotations: {}
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
ingress:
enabled: true
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: incore.exmple.com
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# should we add middleare annotations for traefik v2?
traefik: false
# used by both data and hazard services
persistence:
size: 10Gi
#existingClaim: someclaim
# quotas for incore. there are 3 top level groups:
# - users, quotas for individual users
# - groups, quotas per group, weight is used to order
# - default quotas
# each quota will have:
# - disk max total disk quota for user
# - service [number of objects, size] quota for each of the services
quota: |
{
"groups": {
"incore_ncsa": {
"weight": 1,
"cpu": [ 1, 8 ],
"mem": [ 2, 16 ],
"disk": 100,
"service": [ 200, 5 ]
},
"incore_coe": {
"weight": 0,
"cpu": [ 1, 4 ],
"mem": [ 2, 8 ],
"disk": 10,
"service": [ 200, 5 ]
}
},
"default": {
"cpu": [ 1, 2 ],
"mem": [ 2, 4 ],
"disk": 4,
"service": [ 100, 2 ]
}
}
# the following information is for embedding google analytics into IN-CORE sites
# it WILL NOT impact the operation of the site if this is NOT set up
# it is used to track usage of the site and to help improve the site
# to set up Google Analytics, you need to create a Google Analytics account
# and get the tracking id, which is a string that looks like "G-AB12CDEFGH"
# you can then set the GA_KEY to this value
google_analytics: "GA-1234"
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector: {}
tolerations: []
affinity: {}
# ----------------------------------------------------------------------
# FRONTEND CONFIGURATION
# ----------------------------------------------------------------------
frontend:
replicas: 1
image:
repository: frontend
tag: 1.13.1
service:
type: ClusterIP
port: 80
ingress:
annotations:
persistence:
size: 1Gi
# ----------------------------------------------------------------------
# AUTHENTICATION CONFIGURATION
# ----------------------------------------------------------------------
auth:
replicas: 1
realm: In-core
audience: INCORE
image:
repository: incore-auth
tag: 1.7.0
service:
type: ClusterIP
port: 5000
influxdb:
url: "http://influxdb:8086/"
org: "incore"
location: "data/IP2LOCATION-LITE-DB5.BIN"
token: ""
persistence:
size: 5Gi
# ----------------------------------------------------------------------
# INCORE DOCUMENTATION CONFIGURATION
# ----------------------------------------------------------------------
doc_incore:
replicas: 1
image:
repository: doc/incore
tag: 4.14.0
service:
type: ClusterIP
port: 80
# ----------------------------------------------------------------------
# PYINCORE DOCUMENTATION CONFIGURATION
# ----------------------------------------------------------------------
doc_pyincore:
replicas: 1
image:
repository: doc/pyincore
tag: v1.20.1
service:
type: ClusterIP
port: 80
# ----------------------------------------------------------------------
# PYINCORE_VIZ DOCUMENTATION CONFIGURATION
# ----------------------------------------------------------------------
doc_pyincore_viz:
replicas: 1
image:
repository: doc/pyincore-viz
tag: v1.11.0
service:
type: ClusterIP
port: 80
# ----------------------------------------------------------------------
# PYINCORE_VIZ DOCUMENTATION CONFIGURATION
# ----------------------------------------------------------------------
doc_pyincore_data:
replicas: 1
image:
repository: doc/pyincore-data
tag: v0.7.0
service:
type: ClusterIP
port: 80
# ----------------------------------------------------------------------
# API DOCUMENTATION CONFIGURATION
# ----------------------------------------------------------------------
doc_api:
replicas: 1
image:
repository: doc/api
tag: v4.14.0
service:
type: ClusterIP
port: 80
# ----------------------------------------------------------------------
# DATA SERVICE CONFIGURATION
# ----------------------------------------------------------------------
svc_data:
replicas: 1
repo: /home/incore/data/
image:
repository: data-jetty
tag: 1.27.1
service:
type: ClusterIP
port: 8888
ingress:
annotations:
geoserver:
enabled: true
# ingress.kubernetes.io/auth-url: /auth/
# ingress.kubernetes.io/auth-response-headers: x-auth-userinfo, X-Auth-Userinfo
# traefik.ingress.kubernetes.io/rate-limit: |
# extractorfunc: client.ip
# rateset:
# api-rateset:
# period: 1s
# average: 10
# burst: 20
# ----------------------------------------------------------------------
# DFR3 SERVICE CONFIGURATION
# ----------------------------------------------------------------------
svc_dfr3:
replicas: 1
image:
repository: dfr3-jetty
tag: 1.27.1
service:
type: ClusterIP
port: 8888
ingress:
annotations:
# ingress.kubernetes.io/auth-url: /auth/
# ingress.kubernetes.io/auth-response-headers: x-auth-userinfo, X-Auth-Userinfo
# traefik.ingress.kubernetes.io/rate-limit: |
# extractorfunc: client.ip
# rateset:
# api-rateset:
# period: 1s
# average: 10
# burst: 20
# ----------------------------------------------------------------------
# HAZARD SERVICE CONFIGURATION
# ----------------------------------------------------------------------
svc_hazard:
replicas: 1
image:
repository: hazard-jetty
tag: 1.27.1
service:
type: ClusterIP
port: 8888
ingress:
annotations:
# ingress.kubernetes.io/auth-url: /auth/
# ingress.kubernetes.io/auth-response-headers: x-auth-userinfo, X-Auth-Userinfo
# traefik.ingress.kubernetes.io/rate-limit: |
# extractorfunc: client.ip
# rateset:
# api-rateset:
# period: 1s
# average: 10
# burst: 20
# ----------------------------------------------------------------------
# SPACE SERVICE CONFIGURATION
# ----------------------------------------------------------------------
svc_space:
replicas: 1
image:
repository: space-jetty
tag: 1.27.1
service:
type: ClusterIP
port: 8888
ingress:
annotations:
# ingress.kubernetes.io/auth-url: /auth/
# ingress.kubernetes.io/auth-response-headers: x-auth-userinfo, X-Auth-Userinfo
# traefik.ingress.kubernetes.io/rate-limit: |
# extractorfunc: client.ip
# rateset:
# api-rateset:
# period: 1s
# average: 10
# burst: 20
# ----------------------------------------------------------------------
# SEMANTICS SERVICE CONFIGURATION
# ----------------------------------------------------------------------
svc_sema:
replicas: 1
image:
repository: semantics-jetty
tag: 1.27.1
service:
type: ClusterIP
port: 8888
ingress:
annotations:
# ingress.kubernetes.io/auth-url: /auth/
# ingress.kubernetes.io/auth-response-headers: x-auth-userinfo, X-Auth-Userinfo
# traefik.ingress.kubernetes.io/rate-limit: |
# extractorfunc: client.ip
# rateset:
# api-rateset:
# period: 1s
# average: 10
# burst: 20
# ----------------------------------------------------------------------
# PROJECT SERVICE CONFIGURATION
# ----------------------------------------------------------------------
svc_project:
replicas: 1
image:
repository: project-jetty
tag: 1.27.1
service:
type: ClusterIP
port: 8888
ingress:
annotations:
# ----------------------------------------------------------------------
# MAESTRO SERVICE CONFIGURATION
# ----------------------------------------------------------------------
svc_maestro:
password: password
common:
image:
repository: maestro
tag: 1.1.0
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 8000
testbeds:
slc:
enabled: true
env:
host: incore-postgresql-hl
port: 5432
user: user
password: password
db_name: maestro_slc
prefix: /maestro/slc
workers: 2
replicas: 1
joplin:
enabled: true
env:
host: incore-postgresql-hl
port: 5432
user: user
password: password
db_name: maestro_joplin
prefix: /maestro/joplin
workers: 2
replicas: 1
galveston:
enabled: true
env:
host: incore-postgresql-hl
port: 5432
user: user
password: password
db_name: maestro_galveston
prefix: /maestro/galveston
workers: 2
replicas: 1
# ----------------------------------------------------------------------
# PLOTTING SERVICE CONFIGURATION
# ----------------------------------------------------------------------
svc_plotting:
replicas: 1
image:
repository: plotting
tag: 1.11.0
service:
type: ClusterIP
port: 5000
ingress:
annotations:
persistence:
enabled: true
size: 5Gi
# ----------------------------------------------------------------------
# PLAYBOOK CONFIGURATION
# ----------------------------------------------------------------------
playbooks:
slc:
enabled: true
image:
repository: playbook/slc
tag: 0.3.2
replicas: 1
joplin:
enabled: true
image:
repository: playbook/joplin
tag: 0.2.2
replicas: 1
galveston:
enabled: true
image:
repository: playbook/galveston
tag: 0.2.2
replicas: 1
# ----------------------------------------------------------------------
# DATAWOLF CONFIGURATION
# ----------------------------------------------------------------------
datawolf:
image:
repository: hub.ncsa.illinois.edu/incore/datawolf
tag: 1.14.0
auth:
enabled: false
admins:
dataset: public
loglevel: INFO
engine:
storelogs: true
persistence:
#existingClaim:
#storageClass: "-"
size: 10Gi
postgresql:
enabled: false
url: jdbc:postgresql://postgresql/datawolf
postgresqlUsername: datawolf
postgresqlPassword: datawolf
postgresqlDatabase: database
extraEnvVars:
- name: DATASET_DAO
value: "edu.illinois.ncsa.incore.dao.IncoreDatasetDao"
- name: INCORE_SERVER
value: "http://incore-svc-data:8888"
- name: INCORE_GROUP
value: "incore_user"
- name: FILE_STORAGE
value: "edu.illinois.ncsa.incore.impl.IncoreFileStorage"
- name: INCORE_USER
value: "incrtest"
ingress:
enabled: false
# ----------------------------------------------------------------------
# Maestro usersync configuration
# ----------------------------------------------------------------------
maestro_usersync:
image:
repository: maestro-usersync
tag: 1.0.0
env:
REALM: "In-core"
SERVER_BASE_URL: "url"
TOKEN_URL: "url"
ADMIN_USERNAME: "username"
ADMIN_PASSWORD: "password"
SLC_GROUP_ID: "slc_id"
JOPLIN_GROUP_ID: "joplin_id"
GALVESTON_GROUP_ID: "galveston_id"
NCSA_DEVELOPER_LIST: "developers"
# ----------------------------------------------------------------------
# DEPENDENCIES CONFIGURATION
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# GEOSERVER CONFIGURATION
# ----------------------------------------------------------------------
# These are not the values for the geoserver delployment
# but rather the values for the incore services that depend on geoserver
geoserver:
enabled : true
username: admin
password: password
workspace: incore
url: http://geoserver:8080/geoserver/
# ----------------------------------------------------------------------
# MONGODB
# ----------------------------------------------------------------------
mongodb:
architecture: standalone
useStatefulSet: true
auth:
rootPassword: incorerocks
replicaSetName: incore
initdbScripts:
# ----------------------------------------------------------------------
# POSTGRESQL
# ----------------------------------------------------------------------
postgresql:
auth:
postgresPassword: incorerocks
primary:
initdb:
scripts:
keycloak.sql: |
CREATE DATABASE keycloak;
CREATE USER keycloak WITH PASSWORD 'keycloak';
GRANT ALL PRIVILEGES ON DATABASE keycloak TO keycloak;
datawolf.sql: |
CREATE DATABASE datawolf;
CREATE USER datawolf WITH PASSWORD 'datawolf';
GRANT ALL PRIVILEGES ON DATABASE datawolf TO datawolf;
maestro.sql: |
CREATE DATABASE maestro_galveston;
CREATE DATABASE maestro_joplin;
CREATE DATABASE maestro_slc;
CREATE USER maestro WITH PASSWORD 'maestro';
GRANT ALL PRIVILEGES ON DATABASE maestro_galveston TO maestro;
GRANT ALL PRIVILEGES ON DATABASE maestro_joplin TO maestro;
GRANT ALL PRIVILEGES ON DATABASE maestro_slc TO maestro;
# ----------------------------------------------------------------------
# KEYCLOAK
# ----------------------------------------------------------------------
keycloak:
httpRelativePath: /auth/
auth:
adminUser: keycloak
adminPassword: keycloakAdminPassword
proxy: edge
ingress:
enabled: true
tls: []
servicePort: http
hostname: incore.example.com
rules:
- host: incore.example.com
http:
paths:
- path: /auth/
pathType: ImplementationSpecific
service:
type: ClusterIP
postgresql:
enabled: false
externalDatabase:
host: incore-postgresql-hl # if the chart name is changed this needs to change as well
user: keycloak # if the chart name is changed this needs to change as well
password: keycloak
database: keycloak
port: 5432
initContainers: |
- name: theme-provider
image: incorencsa/keycloak-theme:1.2.0
command:
- sh
args:
- -c
- |
echo "Copying theme..."
cp -R /app/keycloak_theme/* /theme
volumeMounts:
- name: incore-theme
mountPath: /theme
extraVolumes: |
- name: incore-theme
emptyDir: {}
extraVolumeMounts: |
- name: incore-theme
mountPath: /opt/bitnami/keycloak/themes/incore-theme
# ----------------------------------------------------------------------
# CRONJOBS
# ----------------------------------------------------------------------
cronjob:
keycloak:
new_user_alert:
image:
repository: new-user-alert
tag: 0.1.0
env:
SMTP_SERVER: smtp_server_name
SMTP_PORT: 25
EMAIL_SUBJECT: "IN-CORE New User Alert"
EMAIL_RECIPIENTS: ""
EMAIL_FROM: ""
EMAIL_BODY: "A new user has been created in IN-CORE"