ory / k8s

Kubernetes Helm Charts for the ORY ecosystem.
https://k8s.ory.sh/helm
Apache License 2.0
336 stars 259 forks source link

fix: env DSN to be included if hydra.dsn is empty #520

Closed cr1cr1 closed 6 months ago

cr1cr1 commented 2 years ago

Related Issue or Design Document

Checklist

Further comments

hydra-automigrate will fail if using a secret instead of explicit hdyra.dsn because wrong condition in the helm template: https://github.com/ory/k8s/blob/6a22a343a3114b052e3edfc250fe155323525a39/helm/charts/hydra/templates/job-migration.yaml#L60

This bug was introduced in release v0.25.4

MOZGIII commented 2 years ago

Not passing the DSN is actually a feature: you can pass a custom dynamically constructed DSN vie extraEnv.

Demonsthere commented 6 months ago

closing as stale