ory/k8s

DSN environmental variable is not set optionally

blumTom opened this issue · 2 comments

Preflight checklist

Ory Network Project

No response

Describe the bug

Location:

{{- if not (empty ( include "kratos.dsn" . )) }}

The condition does not evaluate properly.
The intention here is to set the DSN environmental variable optionally, but with this condition it is always set.
However, it is a good idea to set the DSN environmental variable optionally to give the user the possibility to define a custom source of this value via the "cleanupCronjobExtraEnv" variable.
In addition to that this should be consistent to all other occurrences of DSN environmental variable definitions.

Reproducing the bug

Do not set the dsn config value.

Relevant log output

No response

Relevant configuration

dsn:

Version

0.38.0 (helm version)

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

fixed by #678

closed by #678