This is an automated email from the ASF dual-hosted git repository.
zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git
The following commit(s) were added to refs/heads/master by this push:
new 50528b0 fix: etcd sni (#391)
50528b0 is described below
commit 50528b07b850aa22e92f5d5ad5c442df3dfac499
Author: Alex Zhang <[email protected]>
AuthorDate: Thu Nov 10 17:37:05 2022 +0800
fix: etcd sni (#391)
---
charts/apisix/templates/configmap.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/charts/apisix/templates/configmap.yaml
b/charts/apisix/templates/configmap.yaml
index 0c36ff5..fa370de 100644
--- a/charts/apisix/templates/configmap.yaml
+++ b/charts/apisix/templates/configmap.yaml
@@ -251,7 +251,9 @@ data:
cert: "/etcd-ssl/{{ .Values.etcd.auth.tls.certFilename }}"
key: "/etcd-ssl/{{ .Values.etcd.auth.tls.certKeyFilename }}"
verify: {{ .Values.etcd.auth.tls.verify }}
+ {{- if .Values.etcd.auth.tls.sni }}
sni: "{{ .Values.etcd.auth.tls.sni }}"
+ {{- end }}
{{- end }}
{{- end }}