Skip to content

Commit

Permalink
[ DSD-3698 ] Removed esignet-softhsm from install-all.sh... (#522)
Browse files Browse the repository at this point in the history
* [ DSD-3698 ] Removed esignet-softhsm from install-all.sh...

Signed-off-by: Mohanraj209 <[email protected]>

* [ MOSIP-29961 ] Removed path from db-test.yaml file..

Signed-off-by: Mohan E <[email protected]>

---------

Signed-off-by: Mohanraj209 <[email protected]>
Signed-off-by: Mohan E <[email protected]>
  • Loading branch information
Mohanraj209 authored Dec 27, 2023
1 parent d832cbc commit 3b8e7f9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/db-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
types: [published]
pull_request:
types: [opened, reopened, synchronize]
paths:
- 'db_scripts/**'
workflow_dispatch:
inputs:
message:
Expand Down
25 changes: 25 additions & 0 deletions helm/esignet/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ if [ $# -ge 1 ] ; then
export KUBECONFIG=$1
fi

SOFTHSM_NS=softhsm
SOFTHSM_CHART_VERSION=12.0.2

echo Create $SOFTHSM_NS namespace
kubectl create ns $SOFTHSM_NS

NS=esignet
CHART_VERSION=1.0.1

Expand All @@ -15,8 +21,27 @@ echo Create $NS namespace
kubectl create ns $NS

function installing_esignet() {

echo Istio label
kubectl label ns $SOFTHSM_NS istio-injection=enabled --overwrite
helm repo add mosip https://mosip.github.io/mosip-helm
helm repo update

echo Installing Softhsm for esignet
helm -n $SOFTHSM_NS install softhsm-esignet mosip/softhsm -f softhsm-values.yaml --version $SOFTHSM_CHART_VERSION --wait
echo Installed Softhsm for esignet

echo Copy configmaps
./copy_cm_func.sh configmap global default config-server

echo Copy secrets
./copy_cm_func.sh secret softhsm-esignet softhsm config-server

kubectl -n config-server set env --keys=mosip-esignet-host --from configmap/global deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_
kubectl -n config-server set env --keys=security-pin --from secret/softhsm-esignet deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_SOFTHSM_ESIGNET_
kubectl -n config-server rollout restart deploy config-server
kubectl -n config-server get deploy -o name | xargs -n1 -t kubectl -n config-server rollout status

./keycloak-init.sh

echo Please enter the recaptcha admin site key for domain $ESIGNET_HOST
Expand Down
25 changes: 1 addition & 24 deletions helm/install-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,34 +9,11 @@ fi

ROOT_DIR=`pwd`

SOFTHSM_NS=softhsm
SOFTHSM_CHART_VERSION=12.0.2

echo Create $SOFTHSM_NS namespace
kubectl create ns $SOFTHSM_NS

function installing_All() {
echo Istio label
kubectl label ns $SOFTHSM_NS istio-injection=enabled --overwrite

helm repo add mosip https://mosip.github.io/mosip-helm
helm repo update

echo Installing Softhsm for esignet
helm -n $SOFTHSM_NS install softhsm-esignet mosip/softhsm -f softhsm-values.yaml --version $SOFTHSM_CHART_VERSION --wait
echo Installed Softhsm for esignet

echo Copy configmaps
./copy_cm_func.sh configmap global default config-server

echo Copy secrets
./copy_cm_func.sh secret softhsm-esignet softhsm config-server

kubectl -n config-server set env --keys=mosip-esignet-host --from configmap/global deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_
kubectl -n config-server set env --keys=security-pin --from secret/softhsm-esignet deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_SOFTHSM_ESIGNET_
kubectl -n config-server rollout restart deploy config-server
kubectl -n config-server get deploy -o name | xargs -n1 -t kubectl -n config-server rollout status


declare -a module=("redis"
"esignet"
"oidc-ui"
Expand Down

0 comments on commit 3b8e7f9

Please sign in to comment.