From 99987ac3caf98ad70129e92c91a5fd4c3ce42f9c Mon Sep 17 00:00:00 2001 From: pingcap-github-bot Date: Fri, 14 Feb 2020 14:20:24 +0800 Subject: [PATCH] fix tls client cert bug (#1693) (#1696) --- charts/tidb-cluster/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tidb-cluster/templates/_helpers.tpl b/charts/tidb-cluster/templates/_helpers.tpl index 75732a0456..78439fd4aa 100644 --- a/charts/tidb-cluster/templates/_helpers.tpl +++ b/charts/tidb-cluster/templates/_helpers.tpl @@ -91,7 +91,7 @@ config-file: |- {{- if .Values.tidb.config }} {{ .Values.tidb.config | indent 2 }} {{- end -}} - {{- if or .Values.enableTLSCluster .Values.enableTLSClient }} + {{- if or .Values.enableTLSCluster .Values.tidb.enableTLSClient }} [security] {{- end -}} {{- if .Values.enableTLSCluster }}