This PR introduces changes to LSv2 and Node charts
LSv2
Extended db configuration so to allow any combination of properties or secret injected values.
Some properties are not sensitive, like host in this case, user can specify either the vanilla hostname or the couple secret name + secret key. Plain values, like host in this case, have priority.
This allows LS to work w/
vanilla psql helm chart
aws rds managed services
zalando operator (that creates secrets on our behalf)
Example 1
In this case the POSTGRES_HOST env var can be either a plain text property set as part of the helm chart values via the host property, or kept null and set through the secretName/hostKey.
the SPRING_DATASOURCE_USERNAME is instead considered sensitive and must be set as secretName/userKey.
Added sleep flag to allow the container to restart with sleep infinity and allow for manual maintenance. This was used to manually fix mithril breaking change.
This PR introduces changes to LSv2 and Node charts
LSv2
Extended db configuration so to allow any combination of properties or secret injected values.
Some properties are not sensitive, like
host
in this case, user can specify either the vanilla hostname or the couple secret name + secret key. Plain values, likehost
in this case, have priority.This allows LS to work w/
Example 1
In this case the
POSTGRES_HOST
env var can be either a plain text property set as part of the helm chart values via thehost
property, or kept null and set through the secretName/hostKey.the
SPRING_DATASOURCE_USERNAME
is instead considered sensitive and must be set as secretName/userKey.Node
Added
sleep
flag to allow the container to restart withsleep infinity
and allow for manual maintenance. This was used to manually fix mithril breaking change.