From 536f7998feeaf5d8839a817a9b5ee02d003c9784 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 28 Feb 2022 03:48:47 +0100
Subject: [PATCH] fix(matrix): Fix resources for postgres

During the import of the database PostgreSQL died due to an OOM error.
This patch should bump the resources to the expected needs which
hopefully works out as expected.
---
 apps/base/matrix/database.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/apps/base/matrix/database.yaml b/apps/base/matrix/database.yaml
index 8d0614978..b6225e82e 100644
--- a/apps/base/matrix/database.yaml
+++ b/apps/base/matrix/database.yaml
@@ -21,3 +21,10 @@ spec:
       encoding: "UTF8"
       locale: "C"
       data-checksums: "true"
+  resources:
+    requests:
+      cpu: 200m
+      memory: 512Mi
+    limits:
+      cpu: "1"
+      memory: 2048Mi
-- 
GitLab