From 28a9fd15c4a682b0851f2e41f0da2bbb245b0283 Mon Sep 17 00:00:00 2001 From: corite Date: Sun, 8 Oct 2023 16:23:16 +0200 Subject: [PATCH] fix: empty array causes parse error on server start --- chart/templates/_helpers.tpl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl index a7b4b9d32..e63c70aca 100644 --- a/chart/templates/_helpers.tpl +++ b/chart/templates/_helpers.tpl @@ -217,8 +217,7 @@ id: 'aid' #maxCaptionLength: 1500 # Reserved usernames that only the administrator can register with -reservedUsernames: -{{ .Values.firefish.reservedUsernames | toYaml }} +reservedUsernames: {{ .Values.firefish.reservedUsernames | toJson }} # Whether disable HSTS #disableHsts: true @@ -265,8 +264,7 @@ reservedUsernames: # Proxy remote files (default: false) #proxyRemoteFiles: true -allowedPrivateNetworks: -{{ .Values.firefish.allowedPrivateNetworks | toYaml }} +allowedPrivateNetworks: {{ .Values.firefish.allowedPrivateNetworks | toJson }} # TWA #twa: