From cbf1a979cf122088f110b54178ff1ee108890afb Mon Sep 17 00:00:00 2001 From: Rakshitha650 Date: Wed, 29 Jan 2025 17:09:39 +0530 Subject: [PATCH 1/2] [MOSIP-39277] Signed-off-by: techno-376 --- deployment/v3/external/iam/install.sh | 2 +- deployment/v3/external/iam/keycloak_init.sh | 2 +- deployment/v3/external/postgres/init_db.sh | 2 +- deployment/v3/external/postgres/install.sh | 2 +- deployment/v3/mosip/admin/install.sh | 2 +- deployment/v3/mosip/artifactory/install.sh | 2 +- deployment/v3/mosip/biosdk/install.sh | 2 +- deployment/v3/mosip/captcha/install.sh | 2 +- deployment/v3/mosip/config-server/install.sh | 2 +- deployment/v3/mosip/datashare/install.sh | 4 ++-- deployment/v3/mosip/ida/install.sh | 2 +- deployment/v3/mosip/idrepo/install.sh | 2 +- deployment/v3/mosip/kernel/install.sh | 5 +++-- deployment/v3/mosip/keymanager/install.sh | 2 +- deployment/v3/mosip/masterdata-loader/install.sh | 2 +- deployment/v3/mosip/mock-abis/install.sh | 2 +- deployment/v3/mosip/mock-mv/install.sh | 2 +- deployment/v3/mosip/mock-smtp/install.sh | 2 +- deployment/v3/mosip/mosip-file-server/install.sh | 2 +- deployment/v3/mosip/packetmanager/install.sh | 2 +- deployment/v3/mosip/partner-onboarder/install.sh | 2 +- deployment/v3/mosip/pms/install.sh | 5 +++-- deployment/v3/mosip/prereg/install.sh | 2 +- deployment/v3/mosip/print/install.sh | 2 +- deployment/v3/mosip/regclient/install.sh | 2 +- deployment/v3/mosip/regproc/install.sh | 2 +- deployment/v3/mosip/resident/install.sh | 4 ++-- deployment/v3/mosip/websub/install.sh | 2 +- 28 files changed, 34 insertions(+), 32 deletions(-) diff --git a/deployment/v3/external/iam/install.sh b/deployment/v3/external/iam/install.sh index 1268c6ee2..f8c96d0f8 100755 --- a/deployment/v3/external/iam/install.sh +++ b/deployment/v3/external/iam/install.sh @@ -19,7 +19,7 @@ function installing_keycloak() { helm repo update echo Installing - helm -n $NS install $SERVICE_NAME mosip/keycloak --version "7.1.18" --set image.repository=mosipqa/mosip-artemis-keycloak --set image.tag=develop --set image.pullPolicy=Always -f values.yaml --wait + helm -n $NS install $SERVICE_NAME mosip/keycloak --version "7.1.18" --set image.repository=mosipqa/mosip-artemis-keycloak --set image.tag=release-1.3.x --set image.pullPolicy=Always -f values.yaml --wait EXTERNAL_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-iam-external-host}) echo Install Istio gateway, virtual service diff --git a/deployment/v3/external/iam/keycloak_init.sh b/deployment/v3/external/iam/keycloak_init.sh index 92935074d..162341e42 100755 --- a/deployment/v3/external/iam/keycloak_init.sh +++ b/deployment/v3/external/iam/keycloak_init.sh @@ -38,7 +38,7 @@ read_user_input(){ function initialize_keycloak() { NS=keycloak - CHART_VERSION=0.0.1-develop + CHART_VERSION=1.3.0-beta.1-develop helm repo add mosip https://mosip.github.io/mosip-helm helm repo update diff --git a/deployment/v3/external/postgres/init_db.sh b/deployment/v3/external/postgres/init_db.sh index f052a1c3a..060814748 100755 --- a/deployment/v3/external/postgres/init_db.sh +++ b/deployment/v3/external/postgres/init_db.sh @@ -8,7 +8,7 @@ fi function initialize_db() { NS=postgres - CHART_VERSION=0.0.1-develop + CHART_VERSION=1.3.0-beta.1-develop helm repo update while true; do read -p "CAUTION: all existing data will be lost. Are you sure?(Y/n)" yn diff --git a/deployment/v3/external/postgres/install.sh b/deployment/v3/external/postgres/install.sh index 9366c44ec..ddac960f4 100755 --- a/deployment/v3/external/postgres/install.sh +++ b/deployment/v3/external/postgres/install.sh @@ -15,7 +15,7 @@ kubectl label ns $NS istio-injection=enabled --overwrite function installing_postgres() { echo Installing Postgres - helm -n $NS install postgres bitnami/postgresql --version 13.1.5 -f values.yaml --wait + helm -n $NS install postgres bitnami/postgresql --version 12.11.1 -f values.yaml --wait echo Installed Postgres echo Installing gateways and virtual services POSTGRES_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-postgres-host}) diff --git a/deployment/v3/mosip/admin/install.sh b/deployment/v3/mosip/admin/install.sh index 80410e3b7..01bd4dd52 100755 --- a/deployment/v3/mosip/admin/install.sh +++ b/deployment/v3/mosip/admin/install.sh @@ -8,7 +8,7 @@ if [ $# -ge 1 ] ; then fi NS=admin -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1-develop echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/artifactory/install.sh b/deployment/v3/mosip/artifactory/install.sh index 9c41154a1..9aec7088c 100755 --- a/deployment/v3/mosip/artifactory/install.sh +++ b/deployment/v3/mosip/artifactory/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=artifactory -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1-develop echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/biosdk/install.sh b/deployment/v3/mosip/biosdk/install.sh index b245d88ea..b214c28df 100755 --- a/deployment/v3/mosip/biosdk/install.sh +++ b/deployment/v3/mosip/biosdk/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=biosdk -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/captcha/install.sh b/deployment/v3/mosip/captcha/install.sh index 5a2044f3e..87e13e86b 100755 --- a/deployment/v3/mosip/captcha/install.sh +++ b/deployment/v3/mosip/captcha/install.sh @@ -23,7 +23,7 @@ function installing_captcha() { done NS=captcha - CHART_VERSION=0.1.0-develop + CHART_VERSION=0.1.0 echo Create $NS namespace kubectl create ns $NS || true diff --git a/deployment/v3/mosip/config-server/install.sh b/deployment/v3/mosip/config-server/install.sh index 853496957..7c75ec09f 100755 --- a/deployment/v3/mosip/config-server/install.sh +++ b/deployment/v3/mosip/config-server/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=config-server -CHART_VERSION=0.0.1-develop +CHART_VERSION=0.0.2-develop read -p "Is conf-secrets module installed?(Y/n) " conf_installed read -p "Do you want to enable config-server to pull configurations from multiple repositories?(Y/n)( Default: n )" comp_enabled diff --git a/deployment/v3/mosip/datashare/install.sh b/deployment/v3/mosip/datashare/install.sh index fd49704b2..88dc2e021 100755 --- a/deployment/v3/mosip/datashare/install.sh +++ b/deployment/v3/mosip/datashare/install.sh @@ -7,9 +7,9 @@ if [ $# -ge 1 ] ; then fi NS=datashare -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace -kubectl create ns $NS +kubectl create ns $NS function installing_datashare() { echo Istio label diff --git a/deployment/v3/mosip/ida/install.sh b/deployment/v3/mosip/ida/install.sh index bea94cfab..ce718075b 100755 --- a/deployment/v3/mosip/ida/install.sh +++ b/deployment/v3/mosip/ida/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=ida -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1-develop echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/idrepo/install.sh b/deployment/v3/mosip/idrepo/install.sh index 7b87e9b93..b62d589b5 100755 --- a/deployment/v3/mosip/idrepo/install.sh +++ b/deployment/v3/mosip/idrepo/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=idrepo -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1-develop echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/kernel/install.sh b/deployment/v3/mosip/kernel/install.sh index 203d7672b..421052606 100755 --- a/deployment/v3/mosip/kernel/install.sh +++ b/deployment/v3/mosip/kernel/install.sh @@ -7,7 +7,8 @@ if [ $# -ge 1 ] ; then fi NS=kernel -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 +AUDIT_CHART_VERSION=1.3.0-beta.1-develop echo Create $NS namespace kubectl create ns $NS @@ -39,7 +40,7 @@ function installing_kernel() { helm -n $NS install authmanager mosip/authmanager --version $CHART_VERSION $ENABLE_INSECURE echo Installing auditmanager - helm -n $NS install auditmanager mosip/auditmanager --version $CHART_VERSION $ENABLE_INSECURE + helm -n $NS install auditmanager mosip/auditmanager --version $AUDIT_CHART_VERSION $ENABLE_INSECURE echo Installing idgenerator helm -n $NS install idgenerator mosip/idgenerator --version $CHART_VERSION diff --git a/deployment/v3/mosip/keymanager/install.sh b/deployment/v3/mosip/keymanager/install.sh index 6321b5848..c17969ca7 100755 --- a/deployment/v3/mosip/keymanager/install.sh +++ b/deployment/v3/mosip/keymanager/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=keymanager -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Creating $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/masterdata-loader/install.sh b/deployment/v3/mosip/masterdata-loader/install.sh index c67a84df8..74c31ec41 100755 --- a/deployment/v3/mosip/masterdata-loader/install.sh +++ b/deployment/v3/mosip/masterdata-loader/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=masterdata-loader -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1-develop echo WARNING: This need to be executed only once at the begining for masterdata deployment. If reexecuted in a working env this will reset the whole master_data DB tables resulting in data loss. echo Please skip this if masterdata is already uploaded. read -p "CAUTION: Do you still want to continue(Y/n)" yn diff --git a/deployment/v3/mosip/mock-abis/install.sh b/deployment/v3/mosip/mock-abis/install.sh index d34d5d985..20d920cd3 100755 --- a/deployment/v3/mosip/mock-abis/install.sh +++ b/deployment/v3/mosip/mock-abis/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=abis -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/mock-mv/install.sh b/deployment/v3/mosip/mock-mv/install.sh index 7404850b2..e4a142d20 100755 --- a/deployment/v3/mosip/mock-mv/install.sh +++ b/deployment/v3/mosip/mock-mv/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=abis -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/mock-smtp/install.sh b/deployment/v3/mosip/mock-smtp/install.sh index 3e0691a5c..7e846b1dc 100755 --- a/deployment/v3/mosip/mock-smtp/install.sh +++ b/deployment/v3/mosip/mock-smtp/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=mock-smtp -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.0.0 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/mosip-file-server/install.sh b/deployment/v3/mosip/mosip-file-server/install.sh index 0120c8754..8d90e0620 100755 --- a/deployment/v3/mosip/mosip-file-server/install.sh +++ b/deployment/v3/mosip/mosip-file-server/install.sh @@ -8,7 +8,7 @@ fi NS=mosip-file-server -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1-develop echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/packetmanager/install.sh b/deployment/v3/mosip/packetmanager/install.sh index 2a0f3f992..a2251a29e 100755 --- a/deployment/v3/mosip/packetmanager/install.sh +++ b/deployment/v3/mosip/packetmanager/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=packetmanager -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/partner-onboarder/install.sh b/deployment/v3/mosip/partner-onboarder/install.sh index b13f9691f..a48e49460 100755 --- a/deployment/v3/mosip/partner-onboarder/install.sh +++ b/deployment/v3/mosip/partner-onboarder/install.sh @@ -70,7 +70,7 @@ function installing_onboarder() { done NS=onboarder - CHART_VERSION=0.0.1-develop + CHART_VERSION=1.3.0-beta.1 echo "Do you have public domain & valid SSL? (Y/n) " echo "Y: if you have public domain & valid ssl certificate" diff --git a/deployment/v3/mosip/pms/install.sh b/deployment/v3/mosip/pms/install.sh index a20b848f6..6c861ffcb 100755 --- a/deployment/v3/mosip/pms/install.sh +++ b/deployment/v3/mosip/pms/install.sh @@ -7,7 +7,8 @@ if [ $# -ge 1 ] ; then fi NS=pms -CHART_VERSION=0.0.1-develop +CHART_VERSION=12.0.1 +PMP_CHART_VERSION=12.0.2 echo Create $NS namespace kubectl create ns $NS @@ -41,7 +42,7 @@ function installing_pms() { --version $CHART_VERSION echo Installing pmp-ui - helm -n $NS install pmp-ui mosip/pmp-ui --set pmp.apiUrl=https://$INTERNAL_API_HOST/ --set istio.hosts=["$PMP_HOST"] --version $CHART_VERSION + helm -n $NS install pmp-ui mosip/pmp-ui --set pmp.apiUrl=https://$INTERNAL_API_HOST/ --set istio.hosts=["$PMP_HOST"] --version $PMP_CHART_VERSION echo Installing pmp-reactjs-ui-new helm -n $NS install pmp-reactjs-ui mosip/pmp-reactjs-ui \ diff --git a/deployment/v3/mosip/prereg/install.sh b/deployment/v3/mosip/prereg/install.sh index e083e1254..90731cc2c 100755 --- a/deployment/v3/mosip/prereg/install.sh +++ b/deployment/v3/mosip/prereg/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=prereg -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/print/install.sh b/deployment/v3/mosip/print/install.sh index 1a8f5129d..c136db024 100755 --- a/deployment/v3/mosip/print/install.sh +++ b/deployment/v3/mosip/print/install.sh @@ -8,7 +8,7 @@ fi NS=print -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/regclient/install.sh b/deployment/v3/mosip/regclient/install.sh index a0b7e2794..58eed10ae 100755 --- a/deployment/v3/mosip/regclient/install.sh +++ b/deployment/v3/mosip/regclient/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=regclient -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1-develop echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/regproc/install.sh b/deployment/v3/mosip/regproc/install.sh index 2dffc8047..8b42fe52a 100755 --- a/deployment/v3/mosip/regproc/install.sh +++ b/deployment/v3/mosip/regproc/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=regproc -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/resident/install.sh b/deployment/v3/mosip/resident/install.sh index f8c819a75..2a46bb8f2 100755 --- a/deployment/v3/mosip/resident/install.sh +++ b/deployment/v3/mosip/resident/install.sh @@ -7,8 +7,8 @@ if [ $# -ge 1 ] ; then fi NS=resident -CHART_VERSION=0.0.1-develop -RESIDENT_UI_CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1-develop +RESIDENT_UI_CHART_VERSION=0.9.0 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/websub/install.sh b/deployment/v3/mosip/websub/install.sh index eb8df90cd..ee2d2eb77 100755 --- a/deployment/v3/mosip/websub/install.sh +++ b/deployment/v3/mosip/websub/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=websub -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS From 12a7f84cfe12654a128515bd0d5ba2b30ade9a1b Mon Sep 17 00:00:00 2001 From: Rakshitha650 Date: Wed, 29 Jan 2025 20:10:33 +0530 Subject: [PATCH 2/2] [MOSIP-39277] Signed-off-by: techno-376 --- deployment/v3/mosip/admin/install.sh | 2 +- deployment/v3/mosip/artifactory/install.sh | 2 +- deployment/v3/mosip/datashare/install.sh | 2 +- deployment/v3/mosip/masterdata-loader/install.sh | 2 +- deployment/v3/mosip/tusd/install.sh | 2 +- deployment/v3/testrig/apitestrig/install.sh | 2 +- deployment/v3/testrig/uitestrig/install.sh | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/deployment/v3/mosip/admin/install.sh b/deployment/v3/mosip/admin/install.sh index 01bd4dd52..d248a830d 100755 --- a/deployment/v3/mosip/admin/install.sh +++ b/deployment/v3/mosip/admin/install.sh @@ -8,7 +8,7 @@ if [ $# -ge 1 ] ; then fi NS=admin -CHART_VERSION=1.3.0-beta.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/artifactory/install.sh b/deployment/v3/mosip/artifactory/install.sh index 9aec7088c..62ebf7b1f 100755 --- a/deployment/v3/mosip/artifactory/install.sh +++ b/deployment/v3/mosip/artifactory/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=artifactory -CHART_VERSION=1.3.0-beta.1-develop +CHART_VERSION=1.3.0-beta.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/datashare/install.sh b/deployment/v3/mosip/datashare/install.sh index 88dc2e021..783301c17 100755 --- a/deployment/v3/mosip/datashare/install.sh +++ b/deployment/v3/mosip/datashare/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=datashare -CHART_VERSION=1.3.0-beta.1 +CHART_VERSION=1.3.0-beta.2 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/mosip/masterdata-loader/install.sh b/deployment/v3/mosip/masterdata-loader/install.sh index 74c31ec41..3ea9b5dd7 100755 --- a/deployment/v3/mosip/masterdata-loader/install.sh +++ b/deployment/v3/mosip/masterdata-loader/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=masterdata-loader -CHART_VERSION=1.3.0-beta.1-develop +CHART_VERSION=1.3.0-beta.1 echo WARNING: This need to be executed only once at the begining for masterdata deployment. If reexecuted in a working env this will reset the whole master_data DB tables resulting in data loss. echo Please skip this if masterdata is already uploaded. read -p "CAUTION: Do you still want to continue(Y/n)" yn diff --git a/deployment/v3/mosip/tusd/install.sh b/deployment/v3/mosip/tusd/install.sh index 0156b0f0e..eb4f4fee9 100755 --- a/deployment/v3/mosip/tusd/install.sh +++ b/deployment/v3/mosip/tusd/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=tusd -CHART_VERSION=0.0.1-develop +CHART_VERSION=12.0.2 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/testrig/apitestrig/install.sh b/deployment/v3/testrig/apitestrig/install.sh index e39a46f32..2f17255c3 100755 --- a/deployment/v3/testrig/apitestrig/install.sh +++ b/deployment/v3/testrig/apitestrig/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=apitestrig -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.1 echo Create $NS namespace kubectl create ns $NS diff --git a/deployment/v3/testrig/uitestrig/install.sh b/deployment/v3/testrig/uitestrig/install.sh index b4f07d88e..a4c259d74 100755 --- a/deployment/v3/testrig/uitestrig/install.sh +++ b/deployment/v3/testrig/uitestrig/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=uitestrig -CHART_VERSION=0.0.1-develop +CHART_VERSION=1.3.1 echo Create $NS namespace kubectl create ns $NS