Skip to content

Commit 5987259

Browse files
authored
fix: configure tls.verify and sni without etcd.auth.tls.enabled (#85)
Signed-off-by: Nic <[email protected]>
1 parent 54fc35c commit 5987259

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-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.0
17+
version: 0.1.1
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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,12 @@ data:
324324
key: "/etcd-ssl/{{ .Values.etcd.auth.tls.certKeyFilename }}"
325325
verify: {{ .Values.etcd.auth.tls.verify }}
326326
sni: "{{ .Values.etcd.auth.tls.sni }}"
327+
{{- else }}
328+
tls:
329+
verify: {{ .Values.etcd.auth.tls.verify }}
330+
{{- if ne .Values.etcd.auth.tls.sni "" }}
331+
sni: "{{ .Values.etcd.auth.tls.sni }}"
332+
{{- end }}
327333
{{- end }}
328334
{{- end }}
329335
{{- end }}

0 commit comments

Comments
 (0)