You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by to...@apache.org on 2022/11/09 09:40:24 UTC

[apisix-helm-chart] 01/01: fix: etcd sni

This is an automated email from the ASF dual-hosted git repository.

tokers pushed a commit to branch fix/etcd-sni
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git

commit e42b4dcb079b39c085ba5d95818ca68c9fc3cdb0
Author: Chao Zhang <to...@apache.org>
AuthorDate: Wed Nov 9 17:40:03 2022 +0800

    fix: etcd sni
    
    Signed-off-by: Chao Zhang <to...@apache.org>
---
 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 }}