From 81238bb0a162c736ef9a57c54d99ca936f7aa862 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Mon, 2 Sep 2024 18:00:38 +0200 Subject: [PATCH] chore(init): enabling verbose logging Signed-off-by: rjshrjndrn --- scripts/helmcharts/openreplay/templates/job.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/helmcharts/openreplay/templates/job.yaml b/scripts/helmcharts/openreplay/templates/job.yaml index c006df9c2..c05e480d5 100644 --- a/scripts/helmcharts/openreplay/templates/job.yaml +++ b/scripts/helmcharts/openreplay/templates/job.yaml @@ -157,6 +157,7 @@ spec: - -c args: - | + set -x pg_version=$(psql -c "SHOW server_version;" | grep -oP '\d\d+') if [[ $pg_version -le 14 ]]; then echo "[error] postgresql version is $pg_version which is <= 15. Exiting."