From 192b95281b29f65ce00ba8228766dd1fd667915e Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Mon, 11 Jul 2022 08:57:32 +0200 Subject: [PATCH] chore(helm): Add clickhouse topology support Signed-off-by: rjshrjndrn --- .../charts/clickhouse/templates/clickhouse-cluster.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/helmcharts/databases/charts/clickhouse/templates/clickhouse-cluster.yaml b/scripts/helmcharts/databases/charts/clickhouse/templates/clickhouse-cluster.yaml index 66f5d8b2d..2093b503e 100644 --- a/scripts/helmcharts/databases/charts/clickhouse/templates/clickhouse-cluster.yaml +++ b/scripts/helmcharts/databases/charts/clickhouse/templates/clickhouse-cluster.yaml @@ -43,7 +43,10 @@ spec: image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" resources: {{ toYaml .Values.resources | nindent 16 }} - + nodeSelector: + {{- toYaml .Values.nodeSelector | nindent 12}} + tolerations: + {{- toYaml .Values.tolerations | nindent 12}} # Ref: https://github.com/Altinity/clickhouse-operator/blob/master/docs/custom_resource_explained.md#spectemplatesservicetemplates serviceTemplates: - name: chi-service-template