Skip to content

Commit 6827138

Browse files
committed
Update versions to latest and improve kratos configuration
1 parent 76912c2 commit 6827138

File tree

1 file changed

+72
-12
lines changed

1 file changed

+72
-12
lines changed

etc/base.yaml

Lines changed: 72 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ kratos:
140140
- radar-k3s-test.thehyve.net
141141

142142
kratos:
143-
development: true
144-
# -- Enable the initialization job. Required to work with a DB
143+
development: false
145144

146145
# -- Enables database migration
147146
automigration:
@@ -202,6 +201,44 @@ kratos:
202201
},
203202
"additionalProperties": false
204203
}
204+
"identity.default.schema.json": |
205+
{
206+
"$schema": "http://json-schema.org/draft-07/schema#",
207+
"$id": "default",
208+
"title": "user",
209+
"type": "object",
210+
"properties": {
211+
"traits": {
212+
"type": "object",
213+
"properties": {
214+
"email": {
215+
"type": "string",
216+
"format": "email",
217+
"title": "E-Mail",
218+
"minLength": 5,
219+
"ory.sh/kratos": {
220+
"credentials": {
221+
"password": {
222+
"identifier": true
223+
},
224+
"totp": {
225+
"account_name": true
226+
}
227+
},
228+
"verification": {
229+
"via": "email"
230+
},
231+
"recovery": {
232+
"via": "email"
233+
}
234+
}
235+
}
236+
},
237+
"required": [ "email" ]
238+
}
239+
},
240+
"additionalProperties": false
241+
}
205242
206243
# -- You can customize the emails Kratos is sending (also uncomment config.courier.template_override_path below)
207244
emailTemplates: { }
@@ -235,6 +272,15 @@ kratos:
235272
# plainBody:
236273

237274
config:
275+
276+
session:
277+
# Defines how long a session is active. Once that lifespan has been reached, the user needs to sign in again.
278+
lifespan: 24h
279+
280+
cookie:
281+
##-- If false, cookie is removed when the browser is closed --##
282+
persistent: false
283+
238284
courier:
239285
smtp:
240286
from_address: radar@thehyve.nl
@@ -273,10 +319,16 @@ kratos:
273319

274320
methods:
275321
password:
322+
config:
323+
haveibeenpwned_enabled: true
324+
max_breaches: 0
325+
ignore_network_errors: false
326+
min_password_length: 12
327+
identifier_similarity_check_enabled: true
276328
enabled: true
277329
totp:
278330
config:
279-
issuer: Kratos
331+
issuer: Radar
280332
enabled: true
281333
link:
282334
enabled: true
@@ -287,6 +339,7 @@ kratos:
287339

288340
settings:
289341
ui_url: https://radar-k3s-test.thehyve.net/kratos-ui/settings
342+
required_aal: highest_available
290343

291344
recovery:
292345
enabled: true
@@ -297,7 +350,7 @@ kratos:
297350
# our current flow necessitates that users reset their password after they activate an account in managementportal,
298351
# this works as verification
299352
ui_url: https://radar-k3s-test.thehyve.net/kratos-ui/verification
300-
enabled: true
353+
enabled: false
301354
use: link
302355
after:
303356
default_browser_return_url: https://radar-k3s-test.thehyve.net/kratos-ui
@@ -410,14 +463,16 @@ cp_schema_registry:
410463

411464
catalog_server:
412465
_install: true
413-
_chart_version: 0.4.3
466+
_chart_version: 0.5.2
414467
_extra_timeout: 90
468+
image:
469+
tag: 0.8.7
415470
replicaCount: 1
416471
schema_registry: http://cp-schema-registry:8081
417472

418473
radar_home:
419474
_install: true
420-
_chart_version: 0.1.1
475+
_chart_version: 0.2.2
421476
_extra_timeout: 0
422477

423478
# --------------------------------------------------------- 10-managementportal.yaml ---------------------------------------------------------
@@ -458,15 +513,15 @@ management_portal:
458513

459514
app_config:
460515
_install: true
461-
_chart_version: 0.2.4
516+
_chart_version: 1.1.1
462517
_extra_timeout: 0
463518
replicaCount: 1
464519
jdbc:
465520
url: jdbc:postgresql://postgresql:5432/appconfig
466521

467522
app_config_frontend:
468523
_install: true
469-
_chart_version: 0.2.3
524+
_chart_version: 1.1.1
470525
_extra_timeout: 0
471526
replicaCount: 1
472527

@@ -498,7 +553,7 @@ radar_appserver:
498553
# The charts in 20-fitbit.yaml only need to be installed if you will use a Fitbit or Garmin API integration.
499554
radar_fitbit_connector:
500555
_install: false
501-
_chart_version: 0.2.1
556+
_chart_version: 0.3.1
502557
_extra_timeout: 0
503558
replicaCount: 1
504559
oauthClientId: radar_fitbit_connector
@@ -558,7 +613,7 @@ radar_grafana:
558613

559614
radar_jdbc_connector:
560615
_install: true
561-
_chart_version: 0.4.0
616+
_chart_version: 0.5.1
562617
_extra_timeout: 0
563618
replicaCount: 1
564619
sink:
@@ -569,9 +624,14 @@ radar_jdbc_connector:
569624

570625
radar_gateway:
571626
_install: true
572-
_chart_version: 0.2.6
627+
_chart_version: 1.1.2
573628
_extra_timeout: 0
574629
replicaCount: 1
630+
ingress:
631+
annotations:
632+
# rewrite the uri to the original request, which is encoded to prevent XSS attacks. This would likely be good practice everywhere but is REQUIRED for grizzly servers
633+
nginx.ingress.kubernetes.io/configuration-snippet: |
634+
rewrite ^ $request_uri;
575635
576636
# --------------------------------------------------------- 20-kafka-analysis.yaml ---------------------------------------------------------
577637

@@ -637,7 +697,7 @@ minio:
637697
radar_s3_connector:
638698
# set to true if radar-s3-connector should be installed
639699
_install: true
640-
_chart_version: 0.2.4
700+
_chart_version: 0.3.1
641701
_extra_timeout: 90
642702
replicaCount: 1
643703
# The bucket name where intermediate data for cold storage should be written to.

0 commit comments

Comments
 (0)