From 7c42b2cc4cd0052d1237382fa90f260d6e6f0eb0 Mon Sep 17 00:00:00 2001
From: Arie Peterson <arie@greenhost.nl>
Date: Thu, 28 Oct 2021 16:10:28 +0200
Subject: [PATCH] Further disable persistence of nextcloud's redis

---
 flux2/apps/nextcloud/nextcloud-values-configmap.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/flux2/apps/nextcloud/nextcloud-values-configmap.yaml b/flux2/apps/nextcloud/nextcloud-values-configmap.yaml
index a07df9f0d..66407254c 100644
--- a/flux2/apps/nextcloud/nextcloud-values-configmap.yaml
+++ b/flux2/apps/nextcloud/nextcloud-values-configmap.yaml
@@ -190,6 +190,12 @@ data:
           requests:
             cpu: 50m
             memory: 32Mi
+      commonConfiguration: |-
+        # Disable appendonly type persistence, because we don't need any
+        # persistence for nextcloud's redis.
+        appendonly no
+        # Disable RDB persistence, for the same reason.
+        save ""
 
     sociallogin:
       server_name: "sso.${domain}"
-- 
GitLab