Environment Installation
The instructions here pertain to the deployment of commons on the Kubernetes cluster using OpenG2P-Commons. All the components are installed in the same namespace.
Prerequisites
Before you deploy, make sure the following are in place:
✅ Infrastruction setup is completed
✅ Environment has been setup with common resources installed.
✅ Domain name
esignet.<your environment>.<your domain name>(e.g.esignet.qa.openg2p.org) is available along with SSL certificate for the domain (the wild certificate should have already been loaded during Infrastructure setup)✅ Project Owner access on the OpenG2P namespace
Installation using Rancher UI
Log in to Rancher admin console.
Select your cluster.
Under Apps -> Repositories click on Create to add a repository.
Provide Name as
openg2pand target HTTPS Index URL as https://openg2p.github.io/openg2p-helm/rancher and click Create.
To display prerelease versions of OpenG2P apps, click on your user avatar in the upper right corner of the Rancher dashboard. Then click on
Include Prerelease Versionsunder Preferences under Helm Charts.
Select the namespace in which you would like to install Registry, from the namespace filter on the top-right.
Navigate to Apps->Charts page on Rancher. You should see
OpenG2P commonsHelm charts listed.
Proceed to Install
OpenG2P Commonschart select the latest version to be installed, and click Install.On the next screen, choose a name for installation, like
Commons. Select the checkboxCustomise Helm optionsbefore install, and click Next.Go through each app's configuration page, and configure the following:
Configure a hostname for each app in the following way.
<appname>.<base-hostname>, where base hostname is the wildcard hostname chosen during Istio namespace setup. Example:esignet.dev.openg2p.organdodk.dev.openg2p.org, etc.<appname>is arbitrary - default names have been provided.Keycloak Base Url is your organization-wide Keycloak URL. (Ex: keycloak.<your domain>.org)
OIDC Client details are asked. Create Keycloak Client, refer to Keycloak Client Creation guide.
Click Next to reach Helm Options page. Disable
waitflag. Click on Install.Wait for all the pods to get into Running state. This may take several minutes.

Once deployed, the OpenG2P Commons services such as PostgreSQL, MinIO, Keymanager, OpenSearch, and others will be automatically set up and available for dependent applications.
Post Installation
Keycloak
Assigning roles to users
Create Keycloak client roles for the following components and assign them to users:
Assigning roles to clients
For Social Registry to be able to access Keymanager APIs, create a realm role in Keycloak with the name "KEYMANAGER_ADMIN" and assign this as a service account role to the Social Registry Keycloak client.
Modules
Install the modules and other utility apps individually using their respective instructions:
Beneficiary Portal
Last updated
Was this helpful?

