Installing OpenIAM with a remote database in Kubernetes environment

Installation of OpenIAM with a remote database in Kubernetes environment is rather simple and straightforward. To begin installation, users need to configure the preferred database as identified in Step 1 of the respective RPM document.

Note:Make sure to use a database that is supported by OpenIAM. These are MariaDB, Postgres, Oracle, or MSSQL.

To deploy OpenIAM with an external database, users will need to configure the terraform.tfvars as described below.

  1. Specify the database type.
database = {
# type of database. Can be one of 'MariaDB', 'Postgres', 'Oracle', or 'MSSQL'
type = "MariaDB"
  1. Specify your database credentials, as per configured database.
# the master credentials into the database
# if using AWS or GKE, do not use 'root' or 'master' as the username. Use a strong password.
root = {
user = "openiamadmin2"
password = "passwd00"
}
# the openiam user, password, and database names
openiam = {
user = "iamuser"
password = "IAMUSER"
database_name = "openiam"
schema_name = "openiam"
}
  1. Specify activity user, password and database names.
# the activiti user, password, and database names
activiti = {
user = "activiti"
password = "ACTIVITI"
database_name = "activiti"
schema_name = "activiti"
  1. Specify the host and port and define replicas as 0. If port and host are not empty and replicas = 0, OpenIAM will use external DB.
helm = {
# set these ONLY if the database is external (not managed by Openiam)
# and managed by you
host = ""
port = ""
# number of replicas of the mariadb or postgres database, managed by OpenIAM, deployed in your private
# k8 cluster
replicas = "1"
size = "100Gi"
  1. Proceed with the regular OpenIAM installation instructions for Kubernetes environment.