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?
Preflight checklist
Ory Network Project
No response
Describe the bug
Location: https://github.com/ory/k8s/blob/d3ffdadf111d535729a59e72998ec7cee8d457f9/helm/charts/kratos/templates/cleanup-cron-job.yaml#L74
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
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