Skip to main content
Version: 0.4.1

Configuration

Ingress

Ingress configuration while upgrading

Git repository

Configuring the Git repository while upgrading

Database

WGE stores incoming data from the connected clusters to a relational database. It supports SQLite and PostgreSQL.

By default SQLite will be used, backed by a PersistentVolumeClaim with the default StorageClass.

Postgres

Using a PostgreSQL database does not require any additional setup on the cluster side. The following details are however needed in order to connect:

  • Database server hostname
  • Database name
  • Database user - The database user requires admin privileges on the database server as it will automatically create the necessary schema.
  • Database password

The database credentials (user and password) need to be provided separately, before installing the chart, as a secret. Run the following command to create a secret:

$ kubectl create secret generic wge-db-credentials \
--namespace wego-system \
--from-literal=username=<database-user> \
--from-literal=password=<database-password>

We can then update the values configmap:

dbConfig:
databaseType: postgres
databaseURI: <database-server-hostname>
postgresConfig:
databaseName: <database-name>