From 619c4c5a1495de29f89e9f04f4afa59c4f5ce7ed Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Wed, 29 Sep 2021 23:35:10 +0200 Subject: [PATCH] funkwhale: Fix missing postgresql extensions Fixes #16 --- charts/funkwhale/Chart.yaml | 2 +- charts/funkwhale/values.yaml | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/charts/funkwhale/Chart.yaml b/charts/funkwhale/Chart.yaml index f05af14..20bc88e 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.1 +version: 0.4.2 dependencies: - name: redis diff --git a/charts/funkwhale/values.yaml b/charts/funkwhale/values.yaml index 5e18d8e..d3c9ccb 100644 --- a/charts/funkwhale/values.yaml +++ b/charts/funkwhale/values.yaml @@ -57,6 +57,18 @@ postgresql: # storageClass: "" # size: 8Gi + pgHbaConfiguration: | + local all all trust + host all all localhost trust + host all all 0.0.0.0/0 md5 + host all all ::/0 md5 + initdbScripts: + enable_extensions.sh: | + #!/bin/sh + + echo 'create extension unaccent;' | psql -U postgres $POSTGRESQL_DATABASE + echo 'create extension citext;' | psql -U postgres $POSTGRESQL_DATABASE + redis: ## If you already have a Redis service you'd like to use, set ## this to false and adjust the host to use your existing service.