From 0bb2265c236fadf25741056e8952c33b817fdbd5 Mon Sep 17 00:00:00 2001 From: NickLarsenNZ Date: Tue, 26 Jul 2022 22:31:09 +0200 Subject: [PATCH] [nats helm] allow verify_cert_and_check_known_urls in tls config (#535) --- helm/charts/nats/templates/_helpers.tpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helm/charts/nats/templates/_helpers.tpl b/helm/charts/nats/templates/_helpers.tpl index 2d8e122b..e5f7e8db 100644 --- a/helm/charts/nats/templates/_helpers.tpl +++ b/helm/charts/nats/templates/_helpers.tpl @@ -121,6 +121,9 @@ tls { {{- if .verifyAndMap }} verify_and_map: {{ .verifyAndMap }} {{- end }} +{{- if .verifyCertAndCheckKnownUrls }} + verify_cert_and_check_known_urls: {{ .verifyCertAndCheckKnownUrls }} +{{- end }} {{- if .curvePreferences }} curve_preferences: {{ .curvePreferences }} {{- end }} @@ -226,4 +229,4 @@ Create the name of the service account to use {{- else }} {{- default "default" .Values.nats.serviceAccount.name }} {{- end }} -{{- end }} \ No newline at end of file +{{- end }}