By default the helmchart deploy a postgresql database in your terrakube namespace but if you want to customize that you can change the default deployment values.
To use a PostgreSQL with your Terrakube deployment create a terrakube.yaml file with the following content:
loadSampleData this will add some organization, workspaces and modules by default in your database if need it
Now you can install terrakube using the command.
Postgresql SSL mode can be use adding databaseSslMode parameter by default the value is "disable", but it accepts the following values; disable, allow, prefer, require, verify-ca, verify-full. This feature is supported from Terrakube 2.15.0. Reference: https://jdbc.postgresql.org/documentation/publicapi/org/postgresql/PGProperty.html#SSL_MODE
To use a SQL Azure with your Terrakube deployment create a terrakube.yaml file with the following content:
loadSampleData this will add some organization, workspaces and modules by default in your database if need it
Now you can install terrakube using the command.
WIP
To use a H2 with your Terrakube deployment create a terrakube.yaml file with the following content:INT
H2 database is just for testing, each time the api pod is restarted a new database will be created
loadSampleData this will add some organization, workspaces and modules by default in your database, keep databaseHostname, databaseName, databaseUser and databasePassword empty
Now you can install terrakube using the command.
To use a MySQL with your Terrakube deployment create a terrakube.yaml file with the following content:
loadSampleData this will add some organization, workspaces and modules by default in your database
Now you can install terrakube using the command.