Skip to content

Commit

Permalink
[ DSD-2299 ] updated keycloak_init and regclient scripts (#1265)
Browse files Browse the repository at this point in the history
Co-authored-by: syed-salman-technoforte <[email protected]>
  • Loading branch information
syedsalman3753 and syed-salman-technoforte authored Mar 29, 2023
1 parent 1e85f01 commit fb800a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deployment/v3/external/iam/keycloak_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

function initialize_keycloak() {
NS=keycloak
CHART_VERSION=12.0.1-B2
CHART_VERSION=12.0.1-B3

helm repo add mosip https://mosip.github.io/mosip-helm
helm repo update
Expand All @@ -27,4 +27,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
initialize_keycloak # calling function
initialize_keycloak # calling function
6 changes: 3 additions & 3 deletions deployment/v3/mosip/regclient/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ function installing_regclient() {
helm repo update

echo "Create secret for keystore-secret-env, delete if exists"
kubectl -n $NS delete secrets keystore-secret-env
kubectl -n $NS delete --ignore-not-found=true secrets keystore-secret-env
kubectl -n $NS create secret generic keystore-secret-env --from-literal="keystore_secret_env=$KEYSTORE_PWD"

echo "Create configmaps for certs, delete if exists"
kubectl -n $NS delete cm regclient-certs
kubectl -n $NS delete --ignore-not-found=true cm regclient-certs
kubectl -n $NS create cm regclient-certs --from-file=./certs/

echo Copy configmaps
Expand Down Expand Up @@ -59,4 +59,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_regclient # calling function
installing_regclient # calling function

0 comments on commit fb800a5

Please sign in to comment.