orange-lock-46074
03/28/2022, 11:50 AMlevel=fatal msg=dsn must be set audience=application service_name=Ory Kratos service_version=v0.9.0-alpha.3
but it is hard for me to see what I should adjust to make it work. If I copy-paste those values and add them to the dsn, it just result in the same error message. I don't find any documentation about those audience=application
values in the DSN, any suggestions?jolly-jelly-9637
03/28/2022, 11:53 AMdsn must be set
- you can ignore audience=application
as this is just an attribute for log filteringorange-lock-46074
03/28/2022, 11:54 AMjolly-jelly-9637
03/28/2022, 11:55 AMkratos.yaml
is not being loaded, or the environment variable isn’t correct, don’t think there’s a third possibility 🙂orange-lock-46074
03/28/2022, 12:01 PMkratos.yaml
or not yet, so I have not included it.jolly-jelly-9637
03/28/2022, 12:08 PMorange-lock-46074
03/28/2022, 12:11 PMkratos.yaml
- that would make me cry.steep-lamp-91158
orange-lock-46074
03/29/2022, 9:11 AM- image: oryd/kratos:v0.9.0
name: kratos-migrate
command: ["kratos"]
args:
- migrate
- sql
- -e
- --yes
env:
- name: DB_DSN
value: <postgres://kratos:mypassword@127.0.0.1:5432/kratos?sslmode=disable&max_conns=20&max_idle_conns=4>
I run it on GKE with Goolge SQL Auth Proxy (as recommended by GCP)
.... If I run a pod with postgres
image and the same config, that can connect to the database using the psql command..... It's hard to see what is wrong for me.jolly-jelly-9637
03/29/2022, 9:15 AMDSN
instead of DB_DSN
?orange-lock-46074
03/29/2022, 9:21 AM