From b7c202b15a5efe3f6ac4c5a349cd9e089f7556a6 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Wed, 23 Feb 2022 18:14:14 +0100 Subject: [PATCH 1/3] feat(DB): moved the new countries outside the transaction zone --- ee/scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql | 4 ++-- scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ee/scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql b/ee/scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql index c2bd0594e..de01efd53 100644 --- a/ee/scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql +++ b/ee/scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql @@ -5,6 +5,8 @@ $$ SELECT 'v1.5.1-ee' $$ LANGUAGE sql IMMUTABLE; +COMMIT; + ALTER TYPE country ADD VALUE IF NOT EXISTS 'AC'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'AN'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'BU'; @@ -36,5 +38,3 @@ ALTER TYPE country ADD VALUE IF NOT EXISTS 'WK'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'YD'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'YU'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'ZR'; - -COMMIT; \ No newline at end of file diff --git a/scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql b/scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql index b7e5f1fa6..92fc44afe 100644 --- a/scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql +++ b/scripts/helm/db/init_dbs/postgresql/1.5.1/1.5.1.sql @@ -5,6 +5,8 @@ $$ SELECT 'v1.5.1' $$ LANGUAGE sql IMMUTABLE; +COMMIT; + ALTER TYPE country ADD VALUE IF NOT EXISTS 'AC'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'AN'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'BU'; @@ -35,6 +37,4 @@ ALTER TYPE country ADD VALUE IF NOT EXISTS 'VD'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'WK'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'YD'; ALTER TYPE country ADD VALUE IF NOT EXISTS 'YU'; -ALTER TYPE country ADD VALUE IF NOT EXISTS 'ZR'; - -COMMIT; \ No newline at end of file +ALTER TYPE country ADD VALUE IF NOT EXISTS 'ZR'; \ No newline at end of file From 439204dd7772cb5fcf60ad3f0c55c0e63a7a85aa Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Wed, 23 Feb 2022 19:23:34 +0100 Subject: [PATCH 2/3] fix(revert): till sticky session fixed, changing utils to lb Signed-off-by: rjshrjndrn --- .../openreplay/charts/nginx-ingress/templates/configMap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml b/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml index ee0bc590e..f3ff69ab5 100644 --- a/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml +++ b/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml @@ -82,7 +82,7 @@ data: proxy_set_header Host $host; proxy_set_header X-Forwarded-For $origin_forwarded_ip; proxy_set_header X-Real-IP $origin_forwarded_ip; - proxy_pass http://utilities-pool; + proxy_pass http://utilities-openreplay.app.svc.cluster.local:9000; } location /assets/ { rewrite ^/assets/(.*) /sessions-assets/$1 break; From 46b180726eb8edbacbae585edc8ee8bd188c8651 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Wed, 23 Feb 2022 19:48:11 +0100 Subject: [PATCH 3/3] chore(nginx): change peerjs port Signed-off-by: rjshrjndrn --- .../openreplay/charts/nginx-ingress/templates/configMap.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml b/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml index f3ff69ab5..b8340ad5d 100644 --- a/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml +++ b/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml @@ -82,7 +82,7 @@ data: proxy_set_header Host $host; proxy_set_header X-Forwarded-For $origin_forwarded_ip; proxy_set_header X-Real-IP $origin_forwarded_ip; - proxy_pass http://utilities-openreplay.app.svc.cluster.local:9000; + proxy_pass http://utilities-openreplay.app.svc.cluster.local:9001; } location /assets/ { rewrite ^/assets/(.*) /sessions-assets/$1 break;