Skip to content

Commit

Permalink
chore: update clickhouse version to 24.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
sophon-zt committed Sep 6, 2024
1 parent 71b2a71 commit b9dffdf
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions addons-cluster/clickhouse/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
componentSpecs:
{{- range $i := until (.Values.shardCount|int) }}
- name: shard-{{ $i }}
componentDef: clickhouse-22
componentDef: clickhouse-24
replicas: {{ $.Values.clickhouse.replicaCount | default 2 }}
disableExporter: false
serviceAccountName: {{ include "clickhouse-cluster.serviceAccountName" $ }}
Expand Down Expand Up @@ -45,7 +45,7 @@ spec:
{{- end }}
{{- if (gt ($.Values.shardCount|int) 1) }}
- name: ch-keeper
componentDef: clickhouse-keeper-22
componentDef: clickhouse-keeper-24
replicas: {{ $.Values.keeper.replicaCount }}
disableExporter: false
{{- with .tolerations }}
Expand Down
8 changes: 4 additions & 4 deletions addons/clickhouse/templates/cmpd-ch.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps.kubeblocks.io/v1alpha1
kind: ComponentDefinition
metadata:
name: clickhouse-22
name: clickhouse-24
labels:
{{- include "clickhouse.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
Expand All @@ -14,7 +14,7 @@ spec:
provider: ApeCloud
description: {{ .Chart.Description }}
serviceKind: {{ .Chart.Name }}
serviceVersion: 22.9.4
serviceVersion: "24.3.10"
services:
- name: default
spec:
Expand Down Expand Up @@ -65,7 +65,7 @@ spec:
valueFrom:
credentialVarRef:
name: admin
compDef: clickhouse-keeper-22
compDef: clickhouse-keeper-24
optional: false
password: Required
- name: CLICKHOUSE_POD_FQDN_LIST
Expand All @@ -76,7 +76,7 @@ spec:
- name: CH_KEEPER_POD_FQDN_LIST
valueFrom:
componentVarRef:
compDef: clickhouse-keeper-22
compDef: clickhouse-keeper-24
optional: false
podFQDNs: Required
runtime:
Expand Down
4 changes: 2 additions & 2 deletions addons/clickhouse/templates/cmpd-keeper.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: apps.kubeblocks.io/v1alpha1
kind: ComponentDefinition
metadata:
name: clickhouse-keeper-22
name: clickhouse-keeper-24
labels:
{{- include "clickhouse.labels" . | nindent 4 }}
{{- if .Values.commonLabels }}
Expand All @@ -14,7 +14,7 @@ spec:
provider: ApeCloud
description: {{ .Chart.Description }}
serviceKind: clickhouse-keeper
serviceVersion: 22.9.4
serviceVersion: "24.3.10"
services:
- name: default
spec:
Expand Down
12 changes: 6 additions & 6 deletions addons/clickhouse/templates/cmpv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ metadata:
spec:
compatibilityRules:
- releases:
- 22.9.4
- 24.3.10
compDefs:
- clickhouse-22
- clickhouse-24
- releases:
- 22.9.4
- 24.3.10
compDefs:
- clickhouse-keeper-22
- clickhouse-keeper-24
releases:
- name: 22.9.4
serviceVersion: 22.9.4
- name: 24.3.10
serviceVersion: 24.3.10
images:
clickhouse: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository | default "bitnami/clickhouse" }}:{{ default .Chart.AppVersion .Values.image.tag }}
2 changes: 1 addition & 1 deletion addons/clickhouse/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ image:
repository: bitnami/clickhouse
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 22.9.4-debian-11-r1
tag: 24.3.10-debian-12-r1

0 comments on commit b9dffdf

Please sign in to comment.