Skip to content

Commit

Permalink
Merge pull request #47 from Prafulrakhade/release-0.8.x
Browse files Browse the repository at this point in the history
[DSD-5249] updated install.sh script
  • Loading branch information
ckm007 authored May 13, 2024
2 parents b49b6ff + 542d14d commit a88ed47
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions helm/inji-verify/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ fi

echo "MOSIP_INJIVERIFY_HOST is not present in configmap/global of configserver"
# Add injiverify host to global
kubectl patch configmap global -n config-server --type merge -p "{\"data\": {\"mosip-injiverify-host\": \"$MOSIP_INIJIVERIFY_HOST\"}}"
kubectl patch configmap global -n config-server --type merge -p "{\"data\": {\"mosip-injiverify-host\": \"$MOSIP_INJIVERIFY_HOST\"}}"
kubectl patch configmap global -n default --type merge -p "{\"data\": {\"mosip-injiverify-host\": \"$MOSIP_INJIVERIFY_HOST\"}}"
# Add the host
kubectl set env deployment/config-server SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_ESIGNET_INJIVERIFY_HOST=$MOSIP_INJIVERIFY_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

echo Create $NS namespace
kubectl create ns $NS
Expand All @@ -52,7 +53,7 @@ function installing_inji-verify() {

INJIVERIFY_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-injiverify-host})
echo Installing INJIVERIFY
helm -n $NS install inji-verify mosip/inji-verify \
helm -n $NS install inji-verify mosip/injiverify \
-f values.yaml \
--set istio.hosts\[0\]=$INJIVERIFY_HOST \
--version $CHART_VERSION
Expand Down

0 comments on commit a88ed47

Please sign in to comment.