diff --git a/helm/inji-verify/Chart.yaml b/helm/inji-verify/Chart.yaml index 7ff81a3d..ab9e11bb 100644 --- a/helm/inji-verify/Chart.yaml +++ b/helm/inji-verify/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: injiverify description: A Helm chart for MOSIP injiverify module type: application -version: 0.0.1-develop +version: 0.8.0 appVersion: "" dependencies: - name: common diff --git a/helm/inji-verify/install.sh b/helm/inji-verify/install.sh index 938013a0..61940d2f 100755 --- a/helm/inji-verify/install.sh +++ b/helm/inji-verify/install.sh @@ -7,7 +7,7 @@ if [ $# -ge 1 ] ; then fi NS=injiverify -CHART_VERSION=0.0.1-develop +CHART_VERSION=0.8.0 DEFAULT_MOSIP_INJIVERIFY_HOST=$( kubectl get cm global -n config-server -o jsonpath={.data.mosip-injiverify-host} ) # Check if MOSIP_INJIVERIFY_HOST is present under configmap/global of configserver @@ -37,8 +37,6 @@ echo "MOSIP_INJIVERIFY_HOST is not present in configmap/global of configserver" # Restart the configserver deployment kubectl -n config-server get deploy -o name | xargs -n1 -t kubectl -n config-server rollout restart -sleep 400s - echo Create $NS namespace kubectl create ns $NS @@ -52,7 +50,7 @@ function installing_inji-verify() { echo Copy configmaps ./copy_cm.sh - INJI_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-injiverify-host}) + INJIVERIFY_HOST=$(kubectl get cm global -o jsonpath={.data.mosip-injiverify-host}) echo Installing INJIVERIFY helm -n $NS install inji-verify mosip/inji-verify \ -f values.yaml \ diff --git a/helm/inji-verify/templates/configmap.yaml b/helm/inji-verify/templates/configmap.yaml index d84ac4a9..e2d4f8d1 100644 --- a/helm/inji-verify/templates/configmap.yaml +++ b/helm/inji-verify/templates/configmap.yaml @@ -22,7 +22,7 @@ data: access_log /var/log/nginx/access1.log; error_log /var/log/nginx/error1.log; server { - listen {{ .Values.inji_web.inji_web_port }}; + listen {{ .Values.inji_verify.port }}; server_name localhost; root /usr/share/nginx/html; @@ -35,7 +35,7 @@ data: gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript; location /v1/mimoto { - proxy_pass http://{{ .Values.inji_web.inji_web_service_host }}/v1/mimoto; + proxy_pass http://{{ .Values.inji_verify.host }}/v1/mimoto; proxy_redirect off; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; diff --git a/helm/inji-verify/templates/deployment.yaml b/helm/inji-verify/templates/deployment.yaml index c7d729e4..405249f9 100644 --- a/helm/inji-verify/templates/deployment.yaml +++ b/helm/inji-verify/templates/deployment.yaml @@ -113,7 +113,7 @@ spec: subPath: nginx.conf ports: - name: spring-service - containerPort: {{ .Values.inji_web.inji_web_port }} + containerPort: {{ .Values.inji_verify.port }} {{- if .Values.resources }} resources: {{- toYaml .Values.resources | nindent 12 }} {{- end }} diff --git a/helm/inji-verify/templates/service.yaml b/helm/inji-verify/templates/service.yaml index 9caedaa5..b105c0ed 100644 --- a/helm/inji-verify/templates/service.yaml +++ b/helm/inji-verify/templates/service.yaml @@ -24,5 +24,5 @@ spec: - name: http port: {{ .Values.service.port }} protocol: TCP - targetPort: {{ .Values.inji_web.inji_web_port }} + targetPort: {{ .Values.inji_verify.port }} selector: {{- include "common.labels.matchLabels" . | nindent 4 }} diff --git a/helm/inji-verify/values.yaml b/helm/inji-verify/values.yaml index 6e23cc88..72b5e016 100755 --- a/helm/inji-verify/values.yaml +++ b/helm/inji-verify/values.yaml @@ -51,8 +51,8 @@ service: image: registry: docker.io - repository: mosipdev/inji-verify - tag: develop + repository: mosipid/inji-verify + tag: 0.8.0 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' @@ -248,9 +248,8 @@ extraEnvVarsCM: - global - config-server-share - artifactory-share - #- softhsm-esignet-share - - oidc-ui - +# - softhsm-esignet-share +# - oidc-ui ## Secret with extra environment variables ## extraEnvVarsSecret: @@ -416,6 +415,11 @@ metrics: ## The url below is to access esignet API services. ## CAUTION: Domain name to access injiweb UI must be secure/internal/over vpn. +## Slash is important! +inji_verify: + port: '3004' + host: 'mimoto.mimoto' +esignet_redirect_url: 'esignet.sandbox.xyz.net' istio: enabled: true ingressController: diff --git a/inji-verify/package-lock.json b/inji-verify/package-lock.json index dfe87989..64f53071 100644 --- a/inji-verify/package-lock.json +++ b/inji-verify/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", - "@mosip/pixelpass": "^0.1.4", + "@mosip/pixelpass": "0.1.4", "@mui/icons-material": "^5.15.15", "@mui/material": "^5.15.14", "@mui/styled-engine": "^5.15.14", @@ -22352,9 +22352,9 @@ "integrity": "sha512-hEQt0+ZLDVUMhebKxL4x1BTtDY7bavVofhZ9KZ4aI26X9SRaE+Y3m83XUL1UP2jn8ynjndwCCpEHdUG+9pP1Tw==" }, "node_modules/undici": { - "version": "5.28.3", - "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.3.tgz", - "integrity": "sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA==", + "version": "5.28.4", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz", + "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==", "dependencies": { "@fastify/busboy": "^2.0.0" }, diff --git a/inji-verify/package.json b/inji-verify/package.json index 0087e086..0e0e5b2f 100644 --- a/inji-verify/package.json +++ b/inji-verify/package.json @@ -5,7 +5,7 @@ "dependencies": { "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", - "@mosip/pixelpass": "^0.1.4", + "@mosip/pixelpass": "0.1.4", "@mui/icons-material": "^5.15.15", "@mui/material": "^5.15.14", "@mui/styled-engine": "^5.15.14",