diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-03-10 23:53:31 +0100 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2020-03-10 23:53:31 +0100 |
commit | 17547340d42db38a0bca7bca934b01964991301b (patch) | |
tree | 5ab91e46b33eae8cf060b0e24f6f16f9a1888cff /kubernetes/onap/resources | |
parent | b8316cdbeaed1c4929531da836f24639c745ab66 (diff) |
[COMMON] Allow special characters in postgress passwords
Postgres image that we are currently using uses sed to replace
passwords placeholders with their actual values at startup time.
This apprach is very fragile and leads to issues if & happens to be a
part of password as it has a special meaning in sed.
To fix this issue let's just extract the setup.sql file from the
container and process it on our own in init container using envsubst
and then mount it to the main container to be used.
Issue-ID: OOM-2317
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Change-Id: Ifd51d8f0af0099958caa209185fb7a87a0480bd2
Diffstat (limited to 'kubernetes/onap/resources')
0 files changed, 0 insertions, 0 deletions