Skip to content

Commit

Permalink
[MOSIP-38705] & [38705] added installation script for esignet-with-pl…
Browse files Browse the repository at this point in the history
…ugins and for esignet.

Signed-off-by: techno-467 <[email protected]>
  • Loading branch information
Prafulrakhade committed Jan 15, 2025
1 parent dd37636 commit caac7d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions deploy/esignet-with-plugins/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi
echo Create $NS namespace
kubectl create ns $NS

function installing_esignet-with-plugins() {
function installing_esignet_with_plugins() {

while true; do
read -p "Do you want to continue installing esignet-with-plugins services? (y/n): " ans
Expand All @@ -32,12 +32,12 @@ function installing_esignet-with-plugins() {

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

COPY_UTIL=../copy_cm_func.sh
$COPY_UTIL configmap esignet-softhsm-share softhsm $NS
$COPY_UTIL configmap esignet-postgres-config esignet-with-plugins $NS
$COPY_UTIL configmap postgres-config postgres $NS
$COPY_UTIL configmap redis-config redis $NS
$COPY_UTIL secret esignet-softhsm softhsm $NS
$COPY_UTIL secret redis redis $NS
Expand Down Expand Up @@ -115,4 +115,4 @@ set -o errexit ## set -e : exit the script if any statement returns a non-true
set -o nounset ## set -u : exit the script if you try to use an uninitialised variable
set -o errtrace # trace ERR through 'time command' and other functions
set -o pipefail # trace ERR through pipes
installing_esignet-with-plugins # calling function
installing_esignet_with_plugins # calling function
2 changes: 1 addition & 1 deletion deploy/esignet/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function installing_esignet() {

COPY_UTIL=../copy_cm_func.sh
$COPY_UTIL configmap esignet-softhsm-share softhsm $NS
$COPY_UTIL configmap esignet-postgres-config esignet $NS
$COPY_UTIL configmap postgres-config postgres $NS
$COPY_UTIL configmap redis-config redis $NS
$COPY_UTIL secret esignet-softhsm softhsm $NS
$COPY_UTIL secret redis redis $NS
Expand Down

0 comments on commit caac7d3

Please sign in to comment.