ClickHouse database

The GitLab chart can be configured to set up GitLab with an external ClickHouse database via the HTTP interface. Required parameters:

ParameterDescription
global.clickhouse.main.urlURL for the database
global.clickhouse.main.usernameDatabase Username
global.clickhouse.main.password.secretName of the configured secret
global.clickhouse.main.password.keyWhich key to use as the password within the secret
global.clickhouse.main.databaseDatabase name
caution
Using ClickHouse is intended for experimenting and testing purposes only at the moment.

Configuring the password

The password can be set manually using the kubectl CLI tool:

kubectl create secret generic gitlab-clickhouse-password --from-literal="main_password=PASSWORD_HERE"

Starting a chart with ClickHouse

You can fill in the details related to the ClickHouse server within the examples/kind/enable-clickhouse.yaml file.

Start the chart:

helm upgrade --install gitlab . \
  --timeout 600s \
  --set global.image.pullPolicy=Always \
  --set global.hosts.domain=YOUR_IP.nip.io \
  --set global.hosts.externalIP=YOUR_IP \
  -f examples/kind/values-base.yaml \
  -f examples/kind/values-no-ssl.yaml \
  -f examples/clickhouse/enable-clickhouse.yaml