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 }}