From ef73f557813ebeccaa60f2053890bea51d82dd41 Mon Sep 17 00:00:00 2001 From: Florian Piesche Date: Mon, 22 Mar 2021 23:52:05 +0000 Subject: [PATCH] Switch to filter syntax for djangoSecret default --- charts/funkwhale/templates/secret.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/funkwhale/templates/secret.yaml b/charts/funkwhale/templates/secret.yaml index dcfa3cf..77f68a6 100644 --- a/charts/funkwhale/templates/secret.yaml +++ b/charts/funkwhale/templates/secret.yaml @@ -15,7 +15,7 @@ data: {{ if $secret -}} DJANGO_SECRET_KEY: {{ $secret.data.DJANGO_SECRET_KEY }} {{ else -}} - DJANGO_SECRET_KEY: {{ (default uuidv4 .Values.djangoSecret) | b64enc }} + DJANGO_SECRET_KEY: {{ (.Values.djangoSecret | default uuidv4) | b64enc }} {{ end }} {{- range $key, $val := .Values.extraSecret }}