From d03b88499e2664caf1b4cfc9756b1a904074f711 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Thu, 29 Jun 2023 05:52:37 +0200 Subject: [PATCH] lemmy: Expose database pool_size configuration --- charts/lemmy/templates/secret-configuration.yaml | 1 + charts/lemmy/values.yaml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/charts/lemmy/templates/secret-configuration.yaml b/charts/lemmy/templates/secret-configuration.yaml index 0c0f240..67339a0 100644 --- a/charts/lemmy/templates/secret-configuration.yaml +++ b/charts/lemmy/templates/secret-configuration.yaml @@ -8,6 +8,7 @@ "host" (include "lemmy.postgresql.host" .) "port" (include "lemmy.postgresql.port" . | int) "database" (include "lemmy.postgresql.database" .) + "pool_size" (.Values.postgresql.poolSize | default 10) ) "pictrs" (dict diff --git a/charts/lemmy/values.yaml b/charts/lemmy/values.yaml index 943ebb0..2ae202c 100644 --- a/charts/lemmy/values.yaml +++ b/charts/lemmy/values.yaml @@ -279,6 +279,8 @@ postgresql: enabled: true # host: + poolSize: 10 + auth: username: lemmy database: lemmy