Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Have a question or feedback? We are here for you!



$ git remote set-url --push upstream no_push$ git remote -vorigin https://github.com/<your_github_id>/inji.git (fetch)
origin https://github.com/<your_github_id>/inji.git (push)
upstream https://github.com/mosip/inji.git (fetch)
upstream https://github.com/mosip/inji.git (push)$ git clone https://github.com/<your_github_id>/inji.git$ cd inji
$ git remote add upstream https://github.com/mosip/inji.git$ git fetch upstream$ git checkout upstream/<branch> $ git switch -c issue-<issue number>$ git pull upstream <branch> $ git commit -m "[#1234] Adding new feature in inji module"$ git pull upstream <branch> $ git push --set-upstream origin issue-<issue number>

{
"credential": {
"credentialSubject": {
"gender": "Male",
"primaryCropType": "Maize",
"mobileNumber": "9876543210",
"postalCode": "453000",
"landArea": "3 hectares",
"fullName": "John Doe",
"secondaryCropType": "Rice",
"dateOfBirth": "25-05-1990",
"face": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAFCAYAAABW1IzHAAAAHklEQVQokWNgGPaAkZHxPyMj439sYrSQo51PBgsAALa0ECF30JSdAAAAAElFTkSuQmCC",
"farmerID": "987654321",
"villageOrTown": "Koramangala",
"district": "Bangalore",
"id": "did:jwk:eyJrdHkiOiJSU0EiLCJlIjoiQVFBQiIsInVzZSI6InNpZyIsImtpZCI6Iml3Qkl1Q2QzaFU1NlBWM3VTc3gzekhMc1E4SXdYckdHdmh6YkE1VlJuQkEiLCJhbGciOiJSUzI1NiIsIm4iOiJtMWlMQ0prNzA5VkpIbUF2MURsWUxsblA0UDEtLXFfU3Q3aVo3WjhWbXk0d0Mxb2FTQWxXdjFXZjlKQXg2YmQ3OXdMbDhINEkwa25GeG9FbkktTUhvOUtGRXpFcGdJNXZIUHY2X0M2dWI4RmUwaXphRVFXTlY3VEpVRG54MVZ5OU5UZS15ekFVd2dfWk91Y0pFb3hyQW54VXM5OFcyTWpyUmtZdHVQcTlKRUxVTzRJM0wxX1B5S21hRG8zN0xCR3NVamhLVmQ0X0VzTkVPQ3AwQTZwbnBaUUd1S1RteXVhMUVYSDhLWUVTSEZ4alA4NGVCaGk0YmZPSWMwQjQ2VlZrVG81WG9TeUtnRi1xemRyTGFQRGJwZGxBaVNKMEJ5Vk5jaUE3Z2ctWEJLQkV0QVd1b19EQ3pYZUsxREJKT2txMXlkWEJzeWdjeGtpVmdobnFtUTFsVHcifQ==",
"state": "Karnataka",
"landOwnershipType": "Owner"
},
"validUntil": "2027-10-09T03:08:19.711Z",
"validFrom": "2025-10-09T03:08:19.711Z",
"type": [
"VerifiableCredential",
"FarmerCredential"
],
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://piyush7034.github.io/my-files/farmer.json",
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"issuer": "did:web:piyush7034.github.io:my-files:sample-ed25519",
"credentialStatus": {
"statusPurpose": "revocation",
"statusListIndex": "7",
"id": "http://localhost:8090/v1/certify/credentials/status-list/649d3d36-2719-42eb-9f00-ac479a906059#7",
"type": "BitstringStatusListEntry",
"statusListCredential": "http://localhost:8090/v1/certify/credentials/status-list/649d3d36-2719-42eb-9f00-ac479a906059"
},
"proof": {
"type": "Ed25519Signature2020",
"created": "2025-10-08T21:38:19Z",
"proofPurpose": "assertionMethod",
"verificationMethod": "did:web:piyush7034.github.io:my-files:sample-ed25519#LYs95rEHKsqm1_TIFJxffLUXHZL1rM_h-UuwRi6PtN4",
"proofValue": "z5Z3Rj9rhV5b6whiq4EgZaD8gmtsBtfMEqwNXAgasCxtBRCpc35DkiGFyRfy8NYDtXBDX6RjAUpWfgNGn94t2ywgm"
}
}
}{
"credential": {
"issuanceDate": "2025-10-09T03:05:40.782Z",
"credentialSubject": {
"gender": "Male",
"primaryCropType": "Maize",
"mobileNumber": "9876543210",
"postalCode": "453000",
"landArea": "3 hectares",
"fullName": "John Doe",
"secondaryCropType": "Rice",
"dateOfBirth": "25-05-1990",
"face": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAFCAYAAABW1IzHAAAAHklEQVQokWNgGPaAkZHxPyMj439sYrSQo51PBgsAALa0ECF30JSdAAAAAElFTkSuQmCC",
"farmerID": "987654321",
"villageOrTown": "Koramangala",
"district": "Bangalore",
"id": "did:jwk:eyJrdHkiOiJSU0EiLCJlIjoiQVFBQiIsInVzZSI6InNpZyIsImtpZCI6IkVIdXU5eU5MN1VFcnFDd0hWOUdPTk5KWWdxQmVvMVhUTmY0OU95Tk1LN0EiLCJhbGciOiJSUzI1NiIsIm4iOiJ2VmF1dFFYa3JMUXVaU2hGWWFDNkRMNEZOcnMzcm5meTVkVjhyWVJRQnhyOW1oZllfdGxwTzc5QzRiZnplS1BzaVBXN0c4NEMtZGt4QlNOR3RXV0wwdy1oX3JOd3Y2eUFMT1VZaGdtcnZVeGhWakhCRzFMdTFtTUhERF9JZlpJb0lpV1JRZkpvMGZYMFBzZ2FrRWhIZmxjWHdPNk1DaVItNGVNTUdhNU0zR2ViTVQtUHlsQVVKYzJiN2NoaGFvTlJYQWNWbTBsZTFmUG5RRGJfQ21XMENxOW9kOHFjQUwtellqc0F3MnJzMWxhZ3RDcTdsSXVIWkszUnF2U0NQb2lmSG1ZZEZvdzZnNkF5eTlyNzhxc2VwYkU3d3JDYS1aRF92TkxHblpTbXVac3RicmxxZkxfelFfdnlwNjM1NTMtRmNPNGlKNW1Md0w4Z2pwTWRrVmVMRFEifQ==",
"state": "Karnataka",
"landOwnershipType": "Owner"
},
"type": [
"VerifiableCredential",
"FarmerCredential"
],
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://piyush7034.github.io/my-files/farmer.json",
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"issuer": "did:web:piyush7034.github.io:my-files:sample-ed25519",
"expirationDate": "2027-10-09T03:05:40.782Z",
"proof": {
"type": "Ed25519Signature2020",
"created": "2025-10-08T21:35:40Z",
"proofPurpose": "assertionMethod",
"verificationMethod": "did:web:piyush7034.github.io:my-files:sample-ed25519#LYs95rEHKsqm1_TIFJxffLUXHZL1rM_h-UuwRi6PtN4",
"proofValue": "z3BW5Tx6ZHJ53rriixAwkrbjGEurLP5eNWwZQQkmEMEEWtLK5qJRThA6wyuyaiin7ucfaUDk4H2BKVBLpSAqcDPcu"
}
}
}{
"id": "did:rcw:ab01ec3f-9f67-4ce8-ade1-8fce82a9bee1",
"type": [
"VerifiableCredential",
"LifeInsuranceCredential",
"InsuranceCredential"
],
"proof": {
"type": "Ed25519Signature2020",
"created": "2024-05-03T12:53:39Z",
"proofValue": "z4GVSorSVms65uTSLHRdqJB7Km7UuyzGzYbu9uKuwBPRLgHLmBMa8YnBczVh4id2PMsrB31kjCbe6NVLdA9jThURs",
"proofPurpose": "assertionMethod",
"verificationMethod": "did:web:challabeehyv.github.io:DID-Resolve:3313e611-d08a-49c8-b478-7f55eafe62f2#key-0"
},
"issuer": "did:web:challabeehyv.github.io:DID-Resolve:3313e611-d08a-49c8-b478-7f55eafe62f2",
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://holashchand.github.io/test_project/insurance-context.json",
{
"LifeInsuranceCredential": {
"@id": "InsuranceCredential"
}
},
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"issuanceDate": "2024-05-03T12:53:39.113Z",
"expirationDate": "2024-06-02T12:53:39.110Z",
"credentialSubject": {
"id": "did:jwk:eyJrdHkiOiJFQyIsInVzZSI6InNpZyIsImNydiI6IlAtMjU2Iiwia2lkIjoic3pGa2cyOVFFalpiQ1VheFRfbFdiZElEU1ZQNWhlREhTeGR6UlhTOW1WZyIsIngiOiJzeVZ2Y2pEX1k0Y0xFS2NUTGR3a1dEWnR1RGpGWGxwcUtLZ2l5TDB2ZUY0IiwieSI6Ii13eGZIMDZRclRCZGljOG1yRDRBM2E0alhGREx1RnlBa0NPMm56Z3BNUGMiLCJhbGciOiJFUzI1NiJ9",
"dob": "1991-08-13",
"email": "challarao@beehyv.com",
"gender": "Male",
"mobile": "0123456789",
"benefits": [
"Critical Surgery",
"Full body checkup"
],
"fullName": "Challarao V",
"policyName": "Start Insurance Gold Premium",
"policyNumber": "1234567",
"policyIssuedOn": "2023-04-20T20:48:17.684Z",
"policyExpiresOn": "2033-04-20T20:48:17.684Z"
}
}{
"id": "did:cbse:327b6c3f-ce17-4c00-ae4f-7fb2313b0626",
"type": [
"VerifiableCredential",
"UniversityDegreeCredential"
],
"proof": {
"type": "Ed25519Signature2020",
"created": "2024-05-16T07:27:43Z",
"proofValue": "z56crqnnjmvDa46FqmAnVhEttqKtFMTQ1et1mM5dA3WSHtb5ncQ36sS8fG3fxw6dpvtqbqvaE5FzaqwJTBX6dGH3P",
"proofPurpose": "assertionMethod",
"verificationMethod": "did:web:Sreejit-K.github.io:VCTest:d40bdb68-6a8d-4b71-9c2a-f3002513ae0e#key-0"
},
"issuer": "did:web:Sreejit-K.github.io:VCTest:d40bdb68-6a8d-4b71-9c2a-f3002513ae0e",
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://sreejit-k.github.io/VCTest/udc-context2.json",
"https://w3id.org/security/suites/ed25519-2020/v1"
],
"issuanceDate": "2023-02-06T11:56:27.259Z",
"expirationDate": "2025-02-08T11:56:27.259Z",
"credentialSubject": {
"id": "did:example:2002-AR-015678",
"type": "UniversityDegreeCredential",
"ChildFullName": "Alex Jameson Taylor",
"ChildDob": "January 15, 2003",
"ChildGender": "Male",
"ChildNationality": "Arandian",
"ChildPlaceOfBirth": "Central Hospital, New Valera, Arandia",
"FatherFullName": "Michael David Taylor",
"FatherDob": "April 22, 1988",
"FatherNationality": "Arandian",
"MotherFullName": "Emma Louise Taylor",
"MotherDob": "June 5, 1990",
"MotherNationality": "Arandian",
"RegistrationNumber": "2002-AR-015678",
"DateOfRegistration": "January 20, 2002",
"DateOfIssuance": "January 22, 2002"
}
}

git clone https://github.com/mosip/k8s-infra -b v1.2.0.2mkdir -p wireguard/configsudo docker run -d \
--name=wireguard \
--cap-add=NET_ADMIN \
--cap-add=SYS_MODULE \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=Asia/Calcutta \
-e PEERS=30 \
-p 51820:51820/udp \
-v /home/ubuntu/wireguard/config:/config \
-v /lib/modules:/lib/modules \
--sysctl="net.ipv4.conf.all.src_valid_mark=1" \
--restart unless-stopped \
ghcr.io/linuxserver/wireguardcd /home/ubuntu/wireguard/configpeer1 : peername
peer2 : xyzingress:
provider: nonehosts.ini file:Install.kubectl logs <pod-name> -n mimotokubectl logs <pod-name> -n injiwebkubectl logs <pod-name> -n inji-verifyhelm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add mosip https://mosip.github.io/mosip-helmansible-playbook -i hosts.ini docker.yamlsudo systemctl start wg-quick@wg0
sudo systemctl status wg-quick@wg0cd $K8_ROOT/nfscp hosts.ini.sample hosts.ini
kubectl config view ansible-playbook -i ./hosts.ini nfs-ports.yamlssh -i ~/.ssh/nfs-ssh.pem ubuntu@<internal ip of nfs server>
git clone https://github.com/mosip/k8s-infra -b v1.2.0.1cd /home/ubuntu/k8s-infra/nfs/
sudo ./install-nfs-server.sh
cd $K8_ROOT/nfs/ <!-- mosip or inji -->./install-nfs-client-provisioner.shkubectl -n nfs get deployment.apps/nfs-client-provisioner kubectl get storageclass
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
longhorn (default) driver.longhorn.io Delete Immediate true 57d
nfs-client cluster.local/nfs-client-provisioner Delete Immediate true 40s sudo apt update -y
sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update -y
sudo apt-get install python3.8 -y
sudo apt install letsencrypt -y
sudo apt install certbot python3-certbot-nginx -y nano hosts.ini[nginx]
node-nginx ansible_host=<internal ip> ansible_user=root ansible_ssh_private_key_file=<pvt .pem file> ansible-playbook -i hosts.ini mosip/on-prem/nginx/nginx_ports.yaml
cd $K8_ROOT/mosip/on-prem/nginx
sudo ./install.sh cd $K8_ROOT/utils/httpbin
./install.shcurl https://api.sandbox.xyz.net/httpbin/get?show_env=true
curl https://api-internal.sandbox.xyz.net/httpbin/get?show_env=true ingressNginx:
enabled: falsespec:
externalLabels:
cluster: <YOUR-CLUSTER-NAME-HERE>cd $K8_ROOT/monitoring/alerting/
./install.shkubectl apply -f - <<EOF
## The data here is of generic interest to modules in different namespaces hence this is marked as inji-stack-config.
## Replace your domain names here.
## api-host: External public access. (Typically required only in production rollouts).
## api-internal-host: Internal secure access over Wireguard.
## By default all domains and subdomains listed below point to api-internal-host. Modify this default behavior ONLY in production rollout as follows:
apiVersion: v1
kind: ConfigMap
metadata:
name: inji-stack-config
namespace: default
data:
inji-version: develop
installation-domain: sandbox.xyz.net
api-host: api.sandbox.xyz.net
iam-external-host: iam.sandbox.xyz.net
api-internal-host: api-internal.sandbox.xyz.net
injiweb-host: injiweb.sandbox.xyz.net
injiverify-host: injiverify.sandbox.xyz.net
injicertify-host: injicertify.sandbox.xyz.net
inji-postgres-host: postgres.sandbox.xyz.net
esignet-mock-host: esignet-mock.sandbox.xyz.net
mosipid-identity-esignet-host: esignet-mosipid.sandbox.xyz.net
esignet-insurance-host: esignet-insurance.sandbox.xyz.net
minio-host: minio.sandbox.mosip.net
EOFcd /path/to/config-server/
touch values.yaml touch values.yamlgitRepo:
uri: https://github.com/mosip/inji-config
version: release-0.8.x
## Folders within the base repo where properties may be found.
searchFolders: ""
private: false
## User name of user who has access to the private repo. Ignore for public repo
username: ""
token: ""
```
```
envVariables:
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_API_PUBLIC_HOST
valueFrom:
configMapKeyRef:
name: inji-stack-config
key: api-host
enabled: true
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_API_INTERNAL_HOST
valueFrom:
configMapKeyRef:
name: inji-stack-config
key: api-internal-host
enabled: true
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_PARTNER_CRYPTO_P12_PASSWORD
valueFrom:
secretKeyRef:
key: mosip-partner-crypto-p12-password
name: conf-secrets-various
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MPARTNER_DEFAULT_MOBILE_SECRET
valueFrom:
secretKeyRef:
key: mpartner_default_mobile_secret
name: keycloak-client-secrets
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_KEYCLOAK_INTERNAL_URL
valueFrom:
configMapKeyRef:
name: keycloak-host
key: keycloak-internal-url
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_KEYCLOAK_EXTERNAL_URL
valueFrom:
configMapKeyRef:
name: keycloak-host
key: keycloak-external-url
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_KEYCLOAK_INTERNAL_HOST
valueFrom:
configMapKeyRef:
name: keycloak-host
key: keycloak-internal-host
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_KEYCLOAK_EXTERNAL_HOST
valueFrom:
configMapKeyRef:
name: keycloak-host
key: keycloak-external-host
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_DB_DBUSER_PASSWORD
valueFrom:
secretKeyRef:
name: db-common-secrets
key: db-dbuser-password
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_S3_ACCESSKEY
valueFrom:
configMapKeyRef:
name: s3
key: s3-user-key
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_S3_REGION
valueFrom:
configMapKeyRef:
name: s3
key: s3-region
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_S3_SECRETKEY
valueFrom:
secretKeyRef:
name: s3
key: s3-user-secret
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_ESIGNET_HOST
valueFrom:
configMapKeyRef:
key: esignet-host
name: inji-stack-config
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_ESIGNET_MOCK_HOST
valueFrom:
configMapKeyRef:
key: esignet-mock-host
name: inji-stack-config
enabled: true
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIPID_IDENTITY_ESIGNET_HOST
valueFrom:
configMapKeyRef:
key: mosipid-identity-esignet-host
name: inji-stack-config
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_ESIGNET_INSURANCE_HOST
valueFrom:
configMapKeyRef:
key: esignet-insurance-host
name: inji-stack-config
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_INJI_DATASHARE_HOST
valueFrom:
configMapKeyRef:
key: inji-datashare-host
name: inji-stack-config
enabled: false
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_INJIWEB_HOST
valueFrom:
configMapKeyRef:
key: injiweb-host
name: inji-stack-config
enabled: true
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_INJIVERIFY_HOST
valueFrom:
configMapKeyRef:
key: injiverify-host
name: inji-stack-config
enabled: true
- name: SPRING_CLOUD_CONFIG_SERVER_OVERRIDES_MOSIP_INJICERTIFY_HOST
valueFrom:
configMapKeyRef:
key: injicertify-host
name: inji-stack-config
enabled: true
```
* Create a file named `configserver.sh`:
```sh
touch configserver.sh#!/bin/bash
# Installs config-server
## Usage: ./install.sh [kubeconfig]
if [ $# -ge 1 ] ; then
export KUBECONFIG=$1
fi
NS=config-server
CHART_VERSION=12.0.1
read -p "Is conf-secrets module installed?(Y/n) " yn
if [ $yn = "Y" ]; then read -p "Is values.yaml for config-server chart set correctly as part of Pre-requisites?(Y/n) " yn; fi
if [ $yn = "Y" ]
then
echo Create $NS namespace
kubectl create ns $NS
# set commands for error handling.
set -e
set -o errexit ## set -e : exit the script if any statement returns a non-true return value
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
echo Istio label
kubectl label ns $NS istio-injection=enabled --overwrite
helm repo update
UTIL_URL=https://raw.githubusercontent.com/mosip/mosip-infra/master/deployment/v3/utils/copy_cm_func.sh
COPY_UTIL=./copy_cm_func.sh
DST_NS=config-server # DST_NS: Destination namespace
wget -q $UTIL_URL -O copy_cm_func.sh && chmod +x copy_cm_func.sh
echo Copy configmaps and secrets
$COPY_UTIL configmap inji-stack-config default $NS
if kubectl -n conf-secrets get secret conf-secrets-various >/dev/null 2>&1; then
$COPY_UTIL secret conf-secrets-various conf-secrets $NS
else
echo "Skipping copy, conf-secrets-various secret not found"
fi
if kubectl -n s3 get configmap s3 >/dev/null 2>&1 && kubectl -n s3 get secret s3 >/dev/null 2>&1; then
$COPY_UTIL configmap s3 s3 $NS
$COPY_UTIL secret s3 s3 $NS
else
echo "Skipping copy, s3 config or secret not found"
fi
echo Installing config-server
helm -n $NS install config-server mosip/config-server -f values.yaml --wait --version $CHART_VERSION
echo Installed Config-server.
else
echo Exiting the MOSIP installation. Please meet the pre-requisites and than start again.
kill -9 `ps --pid $$ -oppid=`; exit
fi chmod +x configserver.sh
./configserver.sh# On your local machine (connected to K8s cluster via kubectl)
git clone https://github.com/mosip/inji-certify.git
cd inji-certify/deploycd redis
./install.shcd ../db_scripts
# Update init_values.yaml with your database configuration, update the necessary parameters for your PostgreSQL database. Provide path or how to navigate to this yaml in cloned repo.
./init_db.shcd ../inji-certify
./install.shkubectl get pods -n inji-certifykubectl get services -n inji-certifycurl -k https://injicertify.sandbox.xyz.net/health# On your local machine (connected to K8s cluster via kubectl)
git clone https://github.com/mosip/mimoto.git
cd mimoto/deploycd deploy/redis
./install.shcd ../../db_scripts
./init_db.shcd ../partner-onboarder
./install.shcd ../deploy/mimoto
./install.shkubectl get pods -n mimotokubectl get services -n mimotocurl -k https://<your-mimoto-domain>/healthgit clone https://github.com/mosip/inji-web.git
cd inji-web/deploydefault,inji-default,standalonecd datashare
./install.sh
cd ..cd injiweb
./install.shkubectl get pods -n injiwebkubectl get services -n injiwebcurl -k https://injiweb.sandbox.xyz.net/healthgit clone https://github.com/mosip/inji-verify.git
cd inji-verify/deploycd ../db_scripts
# Update init_values.yaml with your database configuration, update the necessary parameters for your PostgreSQL database.
./init_db.sh
cd ../deploy./install-all.shkubectl get pods -n inji-verifykubectl get services -n inji-verifycurl -k https://injiverify.sandbox.xyz.net/health./delete-all.sh./restart-all.shNote:
Script prompts for:
* NFS Server: NFS server ip for persistence.
* NFS Path : NFS path for storing the persisted data. eg. /srv/nfs/mosip/



export INJI_ROOT=<location of mosip directory>
export K8_ROOT=$INJI_ROOT/k8s-infra
export INFRA_ROOT=$INJI_ROOT/mosip-infrahelm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
kubectl create ns cattle-monitoring-system
helm -n cattle-monitoring-system install rancher-monitoring-crd mosip/rancher-monitoring-crdMOSIP Error Logs dashboard.Is host (<node1-ip>) a Control Plane host (y/n)? [y]: y
Is host (<node1-ip>) a Worker host (y/n)? [n]: y
Is host (<node1-ip>) an etcd host (y/n)? [n]: y`cluster_name: sandbox-name`INFO[0000] Building Kubernetes cluster
INFO[0000] [dialer] Setup tunnel for host [10.0.0.1]
INFO[0000] [network] Deploying port listener containers
INFO[0000] [network] Pulling image [alpine:latest] on host [10.0.0.1]
...
INFO[0101] Finished building Kubernetes cluster successfullycp kube_config_cluster.yml $HOME/.kube/<cluster_name>_config
chmod 400 $HOME/.kube/<cluster_name>_config* `export KUBECONFIG="$HOME/.kube/<cluster_name>_config`global:
resolve_timeout: 5m
slack_api_url: <YOUR-SLACK-API-URL>
...
slack_configs:
- channel: '<YOUR-CHANNEL-HERE>'
send_resolved: truecd $K8_ROOT/logging
./intall.sh cd $K8_ROOT/logging
./elasticsearch-ilm-script.sh