Skip to content

Commit 8b349e8

Browse files
authored
fix: configure etcd.tls.sni when it is not empty (#90)
Signed-off-by: Nic <[email protected]>
1 parent c89d424 commit 8b349e8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

charts/gateway/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type: application
1414
# This is the chart version. This version number should be incremented each time you make changes
1515
# to the chart and its templates, including the app version.
1616
# Versions are expected to follow Semantic Versioning (https://semver.org/)
17-
version: 0.1.2
17+
version: 0.1.3
1818

1919
# This is the version number of the application being deployed. This version number should be
2020
# incremented each time you make changes to the application. Versions are not expected to

charts/gateway/templates/configmap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,9 @@ data:
323323
cert: "/etcd-ssl/{{ .Values.etcd.auth.tls.certFilename }}"
324324
key: "/etcd-ssl/{{ .Values.etcd.auth.tls.certKeyFilename }}"
325325
verify: {{ .Values.etcd.auth.tls.verify }}
326+
{{- if ne .Values.etcd.auth.tls.sni "" }}
326327
sni: "{{ .Values.etcd.auth.tls.sni }}"
328+
{{- end }}
327329
{{- else }}
328330
tls:
329331
verify: {{ .Values.etcd.auth.tls.verify }}

0 commit comments

Comments
 (0)