Skip to content
Snippets Groups Projects
Commit 054b86f2 authored by root's avatar root
Browse files

Minimal kratos service runnig

parent 85bef02a
No related branches found
No related tags found
1 merge request!46Add kratos container
Please refer to the [online documentation](.../helmchart) Please refer to the [online documentation](.../helmchart)
# apply PVC
kubectl apply -f pvc.yaml -n oas
# install
helm upgrade -f ../current.yaml single-sign-on . --debug -n oas
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: single-sign-on-kratos-database
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 1Gi
storageClassName: local-path
...@@ -73,9 +73,7 @@ userbackend: ...@@ -73,9 +73,7 @@ userbackend:
postgresql: postgresql:
persistence: persistence:
enabled: true enabled: true
size: 2Gi existingClaim: "kratos-database"
storageClass: "-"
annotations: {}
postgresqlDatabase: kratos postgresqlDatabase: kratos
postgresqlUsername: kratos postgresqlUsername: kratos
postgresqlPassword: kratos postgresqlPassword: kratos
...@@ -84,11 +82,18 @@ postgresql: ...@@ -84,11 +82,18 @@ postgresql:
kratos: kratos:
kratos: kratos:
config: config:
dsn: postgres://kratos:kratos@{{ .Release.Name }}-postgresql:5433/kratos dsn: postgres://kratos:kratos@single-sign-on-postgresql:5433/kratos
selfservice:
default_browser_return_url: https://stackspin.net
identity:
default_schema_url: base64://ewogICIkc2NoZW1hIjogImh0dHA6Ly9qc29uLXNjaGVtYS5vcmcvZHJhZnQtMDcvc2NoZW1hIyIsCiAgInR5cGUiOiAib2JqZWN0IiwKICAicHJvcGVydGllcyI6IHsKICAgICJiYXIiOiB7CiAgICAgICJ0eXBlIjogInN0cmluZyIKICAgIH0KICB9LAogICJyZXF1aXJlZCI6IFsKICAgICJiYXIiCiAgXQp9
secrets: secrets:
session: session:
- a password goes here - a password goes here
- a secred goes here - a secred goes here
courier:
smtp:
connection_uri: smtps://kratos:kratos@smtp.greenhost.nl:465/
hydra: hydra:
maester: maester:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment