-
Base infrastructure setup
-
inji-stack-config ConfigMap steps
-
Postgres installation steps
- Note: Before running the Postgres install script, update the
POSTGRES_HOSTvalue ininstall.shwith the correct PostgreSQL host.
- Note: Before running the Postgres install script, update the
-
Config server secerts steps
-
Config server installation steps
-
Artifactory installation steps
-
Redis installation
cd deploy/redis
./install.sh
- Update values file for postgres init here.
cd ../../db_scripts
./init_db.sh
- Execute Onboarder install script
cd ../partner-onboarder
./install.sh
- During the execution of the
install.shscript, a prompt appears requesting information for the S3 bucket, including its name and URL. - Once the job is completed, log in to S3 / NFS and check the reports. There should not be any failures.
- Note: If you are running the Onboarder in a separate INJI cluster, update the extraEnvVars section accordingly in values.yaml.
- Execute mimoto install script
- Before installing Mimoto, please ensure that the database host and port are correctly configured in the values.yaml file.
- Datashare Deployment:
- If you are using Inji Web Wallet, datashare will be deployed as part of the Mimoto installation.
- If you are using only Inji Mobile Wallet, datashare deployment is not required.
- Note: During the installation of Mimoto and Datashare, ensure that the active_profile_env parameter in the ConfigMap of the config-server-share (in the injiweb namespace) is set to: default,inji-default,standalone
If you are using only Inji Mobile Wallet and do not need datashare, follow these steps:
-
Edit the install.sh script:
- Open
deploy/mimoto/install.sh - Locate the datashare deployment section (around line 61-66)
- Comment out or remove the following lines:
INJI_DATASHARE_HOST=$(kubectl get cm inji-stack-config -o jsonpath={.data.inji-datashare-host}) echo "Installing datashare" helm -n $NS install datashare-inji mosip/datashare \ -f datashare-values.yaml \ --version $DATASHARE_CHART_VERSION
- Open
-
Configure Mimoto for Mobile Wallet only:
- Ensure that
qr_code_typeis set to"EmbeddedVC"in yourmimoto-issuers-config.jsonfile - This embeds the entire Verifiable Credential in the QR code.
- Ensure that
-
Run the modified install script:
cd ../deploy/mimoto
./install.shIf you are using Inji Web Wallet or need datashare for online verification:
cd ../deploy/mimoto
./install.sh
- During the execution of the
install.shscript, a prompt appears requesting information regarding the presence of a public domain and a valid SSL certificate on the server. - If the server lacks a public domain and a valid SSL certificate, it is advisable to select the
noption. Opting it will enable theinit-containerwith anemptyDirvolume and include it in the deployment process. - The init-container will proceed to download the server's self-signed SSL certificate and mount it to the specified location within the container's Java keystore (i.e.,
cacerts) file. - This particular functionality caters to scenarios where the script needs to be employed on a server utilizing self-signed SSL certificates.
- create a folder "certs" in the root and a file "oidckeystore.p12" inside certs and store the keys as different aliases for every issuers. for more details refer here