Database configuration

This section describes how to configure an external or internal database connection to the application.

dbConfig: internal: # dbConfig.internal.enabled -- set to true to use a postgresql instance deployed with this helm chart enabled: true external: # dbConfig.external.enabled -- set to true to use an external database with the application enabled: false # dbConfig.external.useExistingConfigMap -- If the database configuration is created externally (e.g. through terraform) as a ConfigMap `db-config`, set this to true. In this case, all other settings in dbConfig.external are ignored useExistingConfigMap: false # dbConfig.external.engine -- Set to `psql` to use a postgresql database. set to `mysql` to use a mysql database engine: psql # dbConfig.external.host -- hostname/ip of the database host: # dbConfig.external.name -- database name to connect to name: # dbConfig.external.user -- username for the database connection user: # dbConfig.external.password -- password for the database connection password: # dbConfig.external.port -- Port of the datbase port: 5432 ssl: false # dbConfig.external.schema -- Postgresql schema to use, only relevant when dbConfig.external.engine: psql is set schema: public

 

Below you'll find a description of all possible parameters.

Settings Key

Possible Values

Description

Settings Key

Possible Values

Description

internal

true or false

Set this to true to use an internal PostgreSQL DB instance deployed with this helm chart

external

true or false

Set this to true to use External Database
note: set

engine

psql or mysql

Set to psql to use PostgreSQL Dabatase or mysql for MySQL/MariaDB

host

IP or hostname

The host, under which the database server is reachable

name

Any String

The name of the database

user

Any String

The database user

password

Any String

The database users password

port

Numerical Port

The port where the database server listens for connections

ssl

true or false

Only for mysql: If an SSL secured database connection should be used.

schema

Any String

The name of the database schema to be used (just for psql, default is public)