From 239ca9b5a03210db251015a92697e7afaa3553db Mon Sep 17 00:00:00 2001
From: xeruf <27jf@pm.me>
Date: Thu, 13 Oct 2022 22:39:16 +0100
Subject: [PATCH] do-test: update database config

---
 .../do-test/vikunja-values-configmap.yaml     | 28 +++++++++++--------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/basic/apps/do-test/vikunja-values-configmap.yaml b/basic/apps/do-test/vikunja-values-configmap.yaml
index 18c04db..b4ecd40 100644
--- a/basic/apps/do-test/vikunja-values-configmap.yaml
+++ b/basic/apps/do-test/vikunja-values-configmap.yaml
@@ -56,20 +56,24 @@ data:
           - secretName: vikunja-test-tls
             hosts:
               - "do-test.${domain}"
+    persistence:
+      files:
+        labels:
+          stackspin.net/backupSet: "vikunja"
     postgresql:
       enabled: true
       postgresqlDatabase: vikunja
       postgresqlUsername: vikunja
       postgresqlPassword: "${postgresql_password}"
-      persistence:
-        db:
-          enabled: true
-          # -- Sets the persistence type
-          # Valid options are: simplePVC, simpleHP, pvc, emptyDir, secret, configMap, hostPath or custom
-          type: pvc
-          mountPath: "/bitnami/postgresql"
-          # -- If you want to reuse an existing claim, the name of the existing PVC can be passed here.
-          existingClaim: vikunja-test-postgres
-      volumeClaimTemplates:
-        db:
-          enabled: false
+      #persistence:
+      #  db:
+      #    enabled: true
+      #    # -- Sets the persistence type
+      #    # Valid options are: simplePVC, simpleHP, pvc, emptyDir, secret, configMap, hostPath or custom
+      #    type: pvc
+      #    mountPath: "/bitnami/postgresql"
+      #    # -- If you want to reuse an existing claim, the name of the existing PVC can be passed here.
+      #    existingClaim: vikunja-test-postgres
+      #volumeClaimTemplates:
+      #  db:
+      #    enabled: false
-- 
GitLab