diff --git a/README.md b/README.md index 7787f7a5..56345a57 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,6 @@ mosip.identity.fieldid.handle-postfix.mapping={'phone':'@phone'} `` mosip.kernel.sms.country.code=+91 `` - - - ## Installing in k8s cluster using helm ### Pre-requisites 1. Set the kube config file of the Esignet k8 cluster having esignet services is set correctly in PC. @@ -74,12 +71,7 @@ cd deploy ``` ### Install Signup service * Install `kubectl` and `helm` utilities. -* Run `install.sh` to run the partner-onboarder to create the signup-oidc - ``` - cd partner-onboarder - ./install.sh - ``` -* Run `install-all.sh` to deploy signup services. +* Run `install-signup.sh` to deploy signup services. ``` cd deploy ./install-signup.sh diff --git a/deploy/signup-service/install.sh b/deploy/signup-service/install.sh index cd61def9..2904f6ac 100755 --- a/deploy/signup-service/install.sh +++ b/deploy/signup-service/install.sh @@ -6,10 +6,22 @@ if [ $# -ge 1 ] ; then export KUBECONFIG=$1 fi -NS=signup -CHART_VERSION=1.1.0-develop - function installing_signup() { + + while true; do + read -p "Do you want to continue installing signup service? (y/n): " + if [ "$ans" = "Y" ] || [ "$ans" = "y" ]; then + break + elif [ "$ans" = "N" ] || [ "$ans" = "n" ]; then + exit 1 + else + echo "Please provide a correct option (Y or N)" + fi + done + + NS=signup + CHART_VERSION=1.1.0-develop + helm repo add mosip https://mosip.github.io/mosip-helm helm repo update diff --git a/deploy/signup-ui/install.sh b/deploy/signup-ui/install.sh index bd983603..108fc6f6 100755 --- a/deploy/signup-ui/install.sh +++ b/deploy/signup-ui/install.sh @@ -7,6 +7,18 @@ if [ $# -ge 1 ] ; then fi function installing_signup-ui() { + + while true; do + read -p "Do you want to continue installing esignet services? (y/n): " + if [ "$ans" = "Y" ] || [ "$ans" = "y" ]; then + break + elif [ "$ans" = "N" ] || [ "$ans" = "n" ]; then + exit 1 + else + echo "Please provide a correct option (Y or N)" + fi + done + NS=signup CHART_VERSION=1.1.0-develop