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