From 023914891d4326538e805c4f12f49e1c0c1b1f2e Mon Sep 17 00:00:00 2001 From: techno-467 Date: Mon, 13 May 2024 10:00:02 +0530 Subject: [PATCH 1/2] [DSD-] updated install.sh script Signed-off-by: techno-467 --- helm/inji-web/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/helm/inji-web/install.sh b/helm/inji-web/install.sh index e5f5ccac..508c7ae6 100755 --- a/helm/inji-web/install.sh +++ b/helm/inji-web/install.sh @@ -31,7 +31,8 @@ fi echo "MOSIP_INJIWEB_HOST is not present in configmap/global of configserver" # Add injiweb host to global - kubectl patch configmap global -n config-server --type merge -p "{\"data\": {\"mosip-injiweb-host\": \"$MOSIP_INIEB_HOST\"}}" + kubectl patch configmap global -n config-server --type merge -p "{\"data\": {\"mosip-injiweb-host\": \"$MOSIP_INJIWEBB_HOST\"}}" + kubectl patch configmap global -n default --type merge -p "{\"data\": {\"mosip-injiweb-host\": \"$MOSIP_INJIWEBB_HOST\"}}" # Add the host kubectl set env deployment/config-server SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_ESIGNET_INJIWEB_HOST=$MOSIP_INJIWEB_HOST -n config-server # Restart the configserver deployment @@ -54,7 +55,7 @@ function installing_inji-web() { INJI_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-injiweb-host}) echo Installing INJIWEB - helm -n $NS install injiweb mosip/inji-web \ + helm -n $NS install injiweb mosip/injiweb \ -f values.yaml \ --set istio.hosts\[0\]=$INJI_HOST \ --version $CHART_VERSION From 6ceb3efdeb29b064b5846a2c4f8ad65b770b9458 Mon Sep 17 00:00:00 2001 From: Praful Rakhade <99539100+Prafulrakhade@users.noreply.github.com> Date: Mon, 13 May 2024 10:54:47 +0530 Subject: [PATCH 2/2] Update install.sh Signed-off-by: Praful Rakhade <99539100+Prafulrakhade@users.noreply.github.com> --- helm/inji-web/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/inji-web/install.sh b/helm/inji-web/install.sh index 508c7ae6..88ebb10b 100755 --- a/helm/inji-web/install.sh +++ b/helm/inji-web/install.sh @@ -36,7 +36,7 @@ echo "MOSIP_INJIWEB_HOST is not present in configmap/global of configserver" # Add the host kubectl set env deployment/config-server SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_ESIGNET_INJIWEB_HOST=$MOSIP_INJIWEB_HOST -n config-server # Restart the configserver deployment - kubectl -n config-server get deploy -o name | xargs -n1 -t kubectl -n config-server rollout restart + kubectl -n config-server get deploy -o name | xargs -n1 -t kubectl -n config-server rollout status sleep 400s