Skip to content
Snippets Groups Projects
Verified Commit 7d7041ee authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

set values for kratos and hydra database URLs and passwords

parent e225e2d0
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,16 @@ data:
# Let the backup system include nextcloud database data.
backup.velero.io/backup-volumes: "database"
postgresql:
initdbScripts:
setup.sql: |
CREATE USER hydra WITH PASSWORD 'hydra';
CREATE USER kratos WITH PASSWORD '${kratos_postgresql_password}';
CREATE USER stackspin WITH PASSWORD '${hydra_postgresql_password}';
CREATE DATABASE kratos WITH OWNER kratos;
CREATE DATABASE hydra WITH OWNER hydra;
CREATE DATABASE stackspin WITH OWNER stackspin;
hydra:
hydra:
config:
......@@ -50,7 +60,7 @@ data:
secrets:
system:
- "${hydra_system_secret}"
dsn: "memory"
dsn: "postgres://hydra:${hydra_postgresql_password}@single-sign-on-postgresql:5432/hydra"
ingress:
public:
enabled: true
......@@ -69,6 +79,10 @@ data:
admin:
enabled: false
kratos:
config:
dsn: "postgres://kratos:${kratos_postgresql_password}@single-sign-on-postgresql:5432/kratos"
oAuthClients:
- clientName: *USER_PANEL
clientSecret: "${userpanel_oauth_client_secret}"
......
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