Skip to content

Commit

Permalink
[INJIVER-722] - server side verification deployment updates (#234)
Browse files Browse the repository at this point in the history
* [INJIVER-722] - add api for server side verification and integrate with ui

Signed-off-by: Sreenadh S <[email protected]>

* [INJIVER-722] - update vc status condition and api route

Signed-off-by: Sreenadh S <[email protected]>

* [INJIVER-722] - add configmap for nginx

Signed-off-by: Sreenadh S <[email protected]>

* [INJIVER-722] - add helm env

Signed-off-by: Sreenadh S <[email protected]>

* [INJIVER-722] - add helm env

Signed-off-by: Sreenadh S <[email protected]>

---------

Signed-off-by: Sreenadh S <[email protected]>
  • Loading branch information
sree96 authored Nov 13, 2024
1 parent 377b4cc commit 6f6383c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/inji-verify-ui/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ function installing_inji-verify-ui() {
echo Installing INJIVERIFY
helm -n $NS install inji-verify-ui mosip/inji-verify-ui \
--set istio.hosts\[0\]=$INJIVERIFY_HOST \
--version $CHART_VERSION
--set inji_verify_service.host="inji-verify-service.$NS" \
--version $CHART_VERSION

kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status

Expand Down
9 changes: 9 additions & 0 deletions helm/inji-verify-ui/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ data:
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
location /v1/verify {
proxy_pass http://{{ .Values.inji_verify_service.host }}/v1/verify;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
location /authorize {
return 301 https://{{ .Values.esignet_redirect_url }}$request_uri;
}
Expand Down
2 changes: 2 additions & 0 deletions helm/inji-verify-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ metrics:
inji_verify:
port: '8000'
host: 'mimoto.mimoto'
inji_verify_service:
host: 'inji-verify-service.injiverify'
esignet_redirect_url: 'esignet.sandbox.xyz.net'
istio:
enabled: true
Expand Down

0 comments on commit 6f6383c

Please sign in to comment.