Fix ca-cert-bundle entrypoint.sh
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -87,12 +87,12 @@ EOF
|
||||
# Add PostgreSQL CA bundle if configured
|
||||
if [ -n "$PG_CA_BUNDLE_FILE" ]; then
|
||||
cat >> "$CONFIG_FILE" <<EOF
|
||||
ca-bundle: |
|
||||
ca-cert-bundle: |
|
||||
$(sed 's/^/ /' "$PG_CA_BUNDLE_FILE")
|
||||
EOF
|
||||
elif [ -n "$PG_CA_BUNDLE" ]; then
|
||||
cat >> "$CONFIG_FILE" <<EOF
|
||||
ca-bundle: |
|
||||
ca-cert-bundle: |
|
||||
$(echo "$PG_CA_BUNDLE" | sed 's/^/ /')
|
||||
EOF
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user