ClickHouse Secrets and ConfigMap values
Secrets
| Custom Name | Default Name | Type | Description | Used in Components (Pods) |
|---|---|---|---|---|
<global.secrets.clickhouse.customSecretName> | <release_name>-clickhouse-secret | Required when centralLogging is enabled | Basic authentication secret used to connect to Clickhouse. Secret is either created manually (clickhouse chart) or already exists. Required when central logging is enabled (config.centralLogging.enabled). | Portal, Celery, DCS, Clickhouse |
Values
Secret Configuration
| Key | Type | Default | Description |
|---|---|---|---|
| secrets | object | - | Secret configuration values for Clickhouse |
| secrets.credentials.createUserSecret | bool | true | If true, the chart creates a Kubernetes Secret using the username and password parameters. WARNING: Use this for convenience/testing only. |
| secrets.credentials.password | string | "chPass12345" | Clickhouse password. Only used if 'createUserSecret' is set to 'true'. WARNING: Use this for convenience/testing only. Do not store sensitive credentials in configuration files that are committed to Git. Consider using a dedicated secret management solution (e.g., Sealed Secrets, External Secrets, or Vault) for production environments. |
| secrets.credentials.username | string | "chUser" | Clickhouse username. Only used if 'createUserSecret' is set to 'true'. WARNING: Use this for convenience/testing only. Do not store sensitive credentials in configuration files that are committed to Git. Consider using a dedicated secret management solution (e.g., Sealed Secrets, External Secrets, or Vault) for production environments. |
Kubernetes Settings
| Key | Type | Default | Description |
|---|---|---|---|
| monitoring.enabled | bool | false | Enable/disable monitoring with Prometheus. |
| monitoring.prometheusReleaseName | string | "kube-prometheus-stack" | Prometheus release name. |
| serviceAccount | object | - | ServiceAccount configuration. |
| serviceAccount.create | bool | true | Specifies whether a ServiceAccount will be created. If set to false, pre-create ServiceAccount named "name". |
| serviceAccount.name | string | "" | The name of the ServiceAccount to use. If not set and create is true, the name of the ServiceAccount will equal the name of the workload. Required when create is false: without it the deployment fails. |
| useReloader | string | nil | Whether to enable Reloader annotations. When defined, this value takes precedence over global.useReloader. |
Application Configuration
| Key | Type | Default | Description |
|---|---|---|---|
| database | string | "default" | Database name. |
| host | string | "" | Host for external Clickhouse. When configured, the Clickhouse deployment won't be created. |
| port | int | 9000 | Clickhouse port. |
Pod Settings
| Key | Type | Default | Description |
|---|---|---|---|
| image | object | - | Configuration values of the clickhouse image. |
| image.pullPolicy | string | "Always" | Image pull policy. Options: Always, IfNotPresent, Never. |
| image.repository | string | "clickhouse/clickhouse-server" | Image repository. |
| image.tag | string | "22.12" | Image tag. |
| persistence | object | - | Data storage configuration. |
| persistence.accessModes | list | ["ReadWriteOnce"] | Specifies the access modes for the volume. |
| persistence.requestStorage | string | "10Gi" | The amount of storage to request. |
| persistence.storageClassName | string | nil | Name of the StorageClass to use. |
| resources | object | - | Resource requests and limits for the container. |
| resources.limits | object | - | The maximum amount of resources the container is allowed to consume. |
| resources.limits.cpu | string | "16" | CPU limit. Throttling occurs if the container exceeds this value. |
| resources.limits.memory | string | "32Gi" | Memory limit. If exceeded, the container may be terminated with an OOMKilled error. |
| resources.requests | object | - | The minimum amount of resources the container is guaranteed. |
| resources.requests.cpu | string | "8" | CPU request. |
| resources.requests.memory | string | "16Gi" | Memory request. |