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.
- Specify the database type.
database = {# type of database. Can be one of 'MariaDB', 'Postgres', 'Oracle', or 'MSSQL'type = "MariaDB"
- 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 namesopeniam = {user = "iamuser"password = "IAMUSER"database_name = "openiam"schema_name = "openiam"}
- Specify activity user, password and database names.
# the activiti user, password, and database namesactiviti = {user = "activiti"password = "ACTIVITI"database_name = "activiti"schema_name = "activiti"
- Specify the
hostandportand definereplicasas 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 youhost = ""port = ""# number of replicas of the mariadb or postgres database, managed by OpenIAM, deployed in your private# k8 clusterreplicas = "1"size = "100Gi"
- Proceed with the regular OpenIAM installation instructions for Kubernetes environment.