Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/clickhouse/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: clickhouse
description: A Helm chart for creating a ClickHouse® Cluster with the Altinity Operator for ClickHouse
type: application
version: 0.3.8
version: 0.3.9
appVersion: "25.3.6.10034"

dependencies:
Expand Down
2 changes: 2 additions & 0 deletions charts/clickhouse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,10 @@ EOSQL
| clickhouse.shardsCount | int | `1` | number of shards. |
| clickhouse.users | list | `[]` | Configure additional ClickHouse users. |
| clickhouse.zones | list | `[]` | |
| extraManifests | list | `[]` | Extra manifests to deploy as an array |
| keeper.enabled | bool | `false` | Whether to enable Keeper. Required for replicated tables. |
| keeper.image | string | `"altinity/clickhouse-keeper"` | |
| keeper.imagePullSecrets | list | `[]` | Image pull secrets for Keeper pods |
| keeper.localStorage.size | string | `"5Gi"` | |
| keeper.localStorage.storageClass | string | `""` | |
| keeper.metricsPort | string | `""` | |
Expand Down
4 changes: 4 additions & 0 deletions charts/clickhouse/templates/chk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ spec:
tolerations:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with $.Values.keeper.imagePullSecrets }}
imagePullSecrets:
{{- toYaml $.Values.keeper.imagePullSecrets | nindent 12 }}
{{- end }}
containers:
- name: clickhouse-keeper
image: "{{ $.Values.keeper.image }}:{{ $.Values.keeper.tag }}"
Expand Down
4 changes: 4 additions & 0 deletions charts/clickhouse/templates/extra-manifests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ range .Values.extraManifests }}
---
{{ tpl . $ }}
{{ end }}
14 changes: 14 additions & 0 deletions charts/clickhouse/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
"type": "string",
"description": "Custom cluster domain of Kubernetes cluster."
},
"extraManifests": {
"type": "array",
"description": "Extra manifests to deploy as an array.",
"items": {
"type": "string"
}
},
"clickhouse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -358,6 +365,13 @@
"type": "object",
"description": "Node selector for Keeper pods."
},
"imagePullSecrets": {
"type": "array",
"description": "Image pull secrets for Keeper pods.",
"items": {
"type": "object"
}
},
"tolerations": {
"type": "array",
"description": "Tolerations for Keeper pods.",
Expand Down
11 changes: 11 additions & 0 deletions charts/clickhouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ keeper:
size: 5Gi
storageClass: ""
nodeSelector: {}
imagePullSecrets: []
tolerations: []
podAnnotations: {}
volumeClaimAnnotations: {}
Expand All @@ -224,6 +225,16 @@ keeper:
cpuLimitsMs: 500
memoryLimitsMiB: 1Gi

# Extra manifests to deploy as an array
extraManifests: []
# - |
# apiVersion: v1
# kind: ConfigMap
# metadata:
# name: {{.Release.Name }}-config
# data:
# extra-data: "value"

operator:
# -- Whether to enable the Altinity Operator for ClickHouse.
# Disable if you already have the Operator installed cluster-wide.
Expand Down