Skip to content

Commit

Permalink
fix helm render
Browse files Browse the repository at this point in the history
  • Loading branch information
loomts committed Nov 1, 2024
1 parent 5173d9e commit 5e615a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions addons-cluster/clickhouse/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ Define clickhouse componentSpec with compatible ComponentDefinition API
{{- with $.Values.tolerations }}
tolerations: {{ .| toYaml | nindent 4 }}
{{- end }}
{{- include "kblib.componentResources" . | indent 2 }}
{{- include "kblib.componentStorages" . | indent 2 }}
{{- include "clickhouse-cluster.tls" . | indent 2 }}
{{- include "kblib.componentResources" $ | indent 2 }}
{{- include "kblib.componentStorages" $ | indent 2 }}
{{- include "clickhouse-cluster.tls" $ | indent 2 }}
{{- end }}
{{- end }}
6 changes: 3 additions & 3 deletions addons-cluster/clickhouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ shardCount: 1
sharding:
enabled: false

## Number of ClickHouse replicas per shard to deploy
replicaCount: 2

## ClickHouse per shard component configurations
cpu: 1
memory: 2
Expand All @@ -26,9 +29,6 @@ storageClassName:
storage: 10
disableExporter: false

## Number of ClickHouse replicas per shard to deploy
replicaCount: 2

## Tolerations for ClickHouse pods assignment
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
tolerations: []
Expand Down

0 comments on commit 5e615a9

Please sign in to comment.