Kubernetes configuration to DBaaS
Hello everyone,
I'm trying to install ZITADEL in my Kubernetes cluster and connect it to an existing DBaaS (PostgreSQL).
I'm hitting a fatal error during startup:
level=fatal msg="at least ssl root cert has to be set" caller="/home/runner/work/zitadel/zitadel/internal/database/postgres/pg.go:192" cert set=false key set=false rootCert set=false
I've attempted to configure the SSL root certificate by setting this environment variable in my deployment:
YAML
- name: ZITADEL_DATABASE_POSTGRES_USER_SSL_ROOTCERT
value: /certs/root.crt
I've also made sure the root.crt file is mounted into the /certs directory within the ZITADEL pod.
Has anyone encountered this or have advice on how to correctly provide the SSL root certificate to ZITADEL in Kubernetes? Any pointers would be greatly appreciated!
Thanks!
I'm trying to install ZITADEL in my Kubernetes cluster and connect it to an existing DBaaS (PostgreSQL).
I'm hitting a fatal error during startup:
level=fatal msg="at least ssl root cert has to be set" caller="/home/runner/work/zitadel/zitadel/internal/database/postgres/pg.go:192" cert set=false key set=false rootCert set=false
I've attempted to configure the SSL root certificate by setting this environment variable in my deployment:
YAML
- name: ZITADEL_DATABASE_POSTGRES_USER_SSL_ROOTCERT
value: /certs/root.crt
I've also made sure the root.crt file is mounted into the /certs directory within the ZITADEL pod.
Has anyone encountered this or have advice on how to correctly provide the SSL root certificate to ZITADEL in Kubernetes? Any pointers would be greatly appreciated!
Thanks!
