Skip to content

Commit

Permalink
Merge pull request #122 from akilalakshmanan/develop
Browse files Browse the repository at this point in the history
[MOSIP-29035] Added mimoto-oidc-keystore-password to mimoto's install script
  • Loading branch information
vijay151096 authored Sep 28, 2023
2 parents d1fbb5a + bf4cc9c commit 41ed700
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions helm/mimoto/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,14 @@ function installing_mimoto() {
./copy_cm_func.sh secret mimoto-wallet-binding-partner-api-key mimoto config-server
kubectl -n $NS create secret generic mimoto-oidc-partner-clientid --from-literal=mimoto-oidc-partner-clientid='' --dry-run=client -o yaml | kubectl apply -f -
./copy_cm_func.sh secret mimoto-oidc-partner-clientid mimoto config-server

echo Updating mimoto-oidc-keystore-password value
kubectl -n $NS create secret generic mimoto-oidc-keystore-password --from-literal=mimoto-oidc-keystore-password='mosip123' --dry-run=client -o yaml | kubectl apply -f -
./copy_cm_func.sh secret mimoto-oidc-keystore-password mimoto config-server

kubectl -n config-server set env --keys=mimoto-wallet-binding-partner-api-key --from secret/mimoto-wallet-binding-partner-api-key deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_
kubectl -n config-server set env --keys=mimoto-oidc-partner-clientid --from secret/mimoto-oidc-partner-clientid deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_
kubectl -n config-server set env --keys=mimoto-oidc-keystore-password --from secret/mimoto-oidc-keystore-password deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_
kubectl -n config-server get deploy -o name | xargs -n1 -t kubectl -n config-server rollout status


Expand Down
3 changes: 0 additions & 3 deletions partner-onboarder/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ function installing_onboarder() {
kubectl -n config-server set env --keys=mimoto-oidc-partner-clientid --from secret/mimoto-oidc-partner-clientid deployment/config-server --prefix=SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_
kubectl -n config-server get deploy -o name | xargs -n1 -t kubectl -n config-server rollout status

echo Updating mimoto-oidc-keystore-password value
kubectl -n $NS create secret generic mimoto-oidc-keystore-password --from-literal=mimoto-oidc-keystore-password='mosip123' --dry-run=client -o yaml | kubectl apply -f -

kubectl rollout restart deployment -n mimoto mimoto

echo Reports are moved to S3 under onboarder bucket
Expand Down

0 comments on commit 41ed700

Please sign in to comment.