From 4970f4689f1ac69a59713c8371237c4504bdb90f Mon Sep 17 00:00:00 2001
From: Abhi <abhishek.shankarcs@gmail.com>
Date: Tue, 17 Dec 2024 21:33:18 +0530
Subject: [PATCH] [MOSIP-38169] Updated install.sh and values.yaml

Signed-off-by: Abhi <abhishek.shankarcs@gmail.com>
---
 deploy/pms/install.sh        | 6 +++---
 helm/pms-partner/values.yaml | 2 +-
 helm/pms-policy/values.yaml  | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/deploy/pms/install.sh b/deploy/pms/install.sh
index 165701032d..4cbd4c01a1 100755
--- a/deploy/pms/install.sh
+++ b/deploy/pms/install.sh
@@ -25,7 +25,7 @@ function installing_pms() {
 
   INTERNAL_API_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-api-internal-host})
   PMP_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-pmp-host})
-  PMP_NEW_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-pmp-reactjs-ui-new-host})
+  PMP_REVAMP_UI_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-pmp-revamp-ui-host})
 
   PARTNER_MANAGER_SERVICE_NAME="pms-partner"
   POLICY_MANAGER_SERVICE_NAME="pms-policy"
@@ -33,13 +33,13 @@ function installing_pms() {
   echo Installing partner manager
   helm -n $NS install $PARTNER_MANAGER_SERVICE_NAME mosip/pms-partner \
   --set istio.corsPolicy.allowOrigins\[0\].prefix=https://$PMP_HOST \
-  --set istio.corsPolicy.allowOrigins\[1\].prefix=https://$PMP_NEW_HOST \
+  --set istio.corsPolicy.allowOrigins\[1\].prefix=https://$PMP_REVAMP_UI_HOST \
   --version $CHART_VERSION
 
   echo Installing policy manager
   helm -n $NS install $POLICY_MANAGER_SERVICE_NAME mosip/pms-policy \
   --set istio.corsPolicy.allowOrigins\[0\].prefix=https://$PMP_HOST \
-  --set istio.corsPolicy.allowOrigins\[1\].prefix=https://$PMP_NEW_HOST \
+  --set istio.corsPolicy.allowOrigins\[1\].prefix=https://$PMP_REVAMP_UI_HOST \
   --version $CHART_VERSION
 
   kubectl -n $NS  get deploy -o name |  xargs -n1 -t  kubectl -n $NS rollout status
diff --git a/helm/pms-partner/values.yaml b/helm/pms-partner/values.yaml
index a7db8d70a4..47258d0cf2 100644
--- a/helm/pms-partner/values.yaml
+++ b/helm/pms-partner/values.yaml
@@ -422,7 +422,7 @@ istio:
   corsPolicy:
     allowOrigins:
       - prefix: https://pmp.sandbox.xyz.net
-      - prefix: https://pmp-new.sandbox.xyz.net
+      - prefix: https://pmp-revamp.sandbox.xyz.net
     allowCredentials: true
     allowHeaders:
       - Accept
diff --git a/helm/pms-policy/values.yaml b/helm/pms-policy/values.yaml
index 8b7d9ecad8..fb0de39296 100644
--- a/helm/pms-policy/values.yaml
+++ b/helm/pms-policy/values.yaml
@@ -422,7 +422,7 @@ istio:
   corsPolicy:
     allowOrigins:
       - prefix: https://pmp.sandbox.xyz.net
-      - prefix: https://pmp-new.sandbox.xyz.net
+      - prefix: https://pmp-revamp.sandbox.xyz.net
     allowCredentials: true
     allowHeaders:
       - Accept