Skip to main content
Version: Spectra Detect 6.2.0

ClickHouse Secrets and ConfigMap values

Secrets

Custom NameDefault NameTypeDescriptionUsed in Components (Pods)
<global.secrets.clickhouse.customSecretName><release_name>-clickhouse-secretRequired when centralLogging is enabledBasic 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

KeyTypeDefaultDescription
secretsobject-Secret configuration values for Clickhouse
secrets.credentials.createUserSecretbooltrueIf true, the chart creates a Kubernetes Secret using the username and password parameters. WARNING: Use this for convenience/testing only.
secrets.credentials.passwordstring"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.usernamestring"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

KeyTypeDefaultDescription
useReloaderstringnilWhether to enable Reloader annotations. When defined, this value takes precedence over global.useReloader.

Application Configuration

KeyTypeDefaultDescription
databasestring"default"Database name.
hoststring""Host for external Clickhouse. When configured, the Clickhouse deployment won't be created.
portint9000Clickhouse port.

Pod Settings

KeyTypeDefaultDescription
imageobject-Configuration values of the clickhouse image.
image.pullPolicystring"Always"Image pull policy. Options: Always, IfNotPresent, Never.
image.repositorystring"clickhouse/clickhouse-server"Image repository.
image.tagstring"22.12"Image tag.
persistenceobject-Data storage configuration.
persistence.accessModeslist["ReadWriteOnce"]Specifies the access modes for the volume.
persistence.requestStoragestring"10Gi"The amount of storage to request.
persistence.storageClassNamestringnilName of the StorageClass to use.
resourcesobject-Resource requests and limits for the container.
resources.limitsobject-The maximum amount of resources the container is allowed to consume.
resources.limits.cpustring"16"CPU limit. Throttling occurs if the container exceeds this value.
resources.limits.memorystring"32Gi"Memory limit. If exceeded, the container may be terminated with an OOMKilled error.
resources.requestsobject-The minimum amount of resources the container is guaranteed.
resources.requests.cpustring"8"CPU request.
resources.requests.memorystring"16Gi"Memory request.