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 diff --git a/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml b/scripts/helmcharts/openreplay/charts/nginx-ingress/templates/configMap.yaml index ee0bc590e..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-pool; + proxy_pass http://utilities-openreplay.app.svc.cluster.local:9001; } location /assets/ { rewrite ^/assets/(.*) /sessions-assets/$1 break;