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 |
---|---|---|
|
| Set this to true to use an internal PostgreSQL DB instance deployed with this helm chart |
|
| Set this to true to use External Database |
|
| Set to |
| IP or hostname | The host, under which the database server is reachable |
| Any String | The name of the database |
| Any String | The database user |
| Any String | The database users password |
| Numerical Port | The port where the database server listens for connections |
|
| Only for mysql: If an SSL secured database connection should be used. |
| Any String | The name of the database schema to be used (just for psql, default is |