diff --git a/charts/funkwhale/Chart.yaml b/charts/funkwhale/Chart.yaml index 0b9dda7..f05af14 100644 --- a/charts/funkwhale/Chart.yaml +++ b/charts/funkwhale/Chart.yaml @@ -4,7 +4,7 @@ appVersion: "1.1.2" description: A social platform to enjoy and share music icon: https://funkwhale.audio/favicon.png name: funkwhale -version: 0.4.0 +version: 0.4.1 dependencies: - name: redis diff --git a/charts/funkwhale/templates/secret.yaml b/charts/funkwhale/templates/secret.yaml index 77f68a6..73edf38 100644 --- a/charts/funkwhale/templates/secret.yaml +++ b/charts/funkwhale/templates/secret.yaml @@ -13,7 +13,7 @@ data: CACHE_URL: {{ include "funkwhale.redisUrl" . | b64enc }} DATABASE_URL: {{ include "funkwhale.dbUrl" . | b64enc }} {{ if $secret -}} - DJANGO_SECRET_KEY: {{ $secret.data.DJANGO_SECRET_KEY }} + DJANGO_SECRET_KEY: {{ (.Values.djangoSecret | default (b64dec $secret.data.DJANGO_SECRET_KEY)) | b64enc }} {{ else -}} DJANGO_SECRET_KEY: {{ (.Values.djangoSecret | default uuidv4) | b64enc }} {{ end }}