From e434cdf9d32f94b30ef186d0ecc08673c4a21953 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Mon, 12 Feb 2024 11:16:26 +0100 Subject: [PATCH] apps/forge: try to fix persistence --- apps/forge/forgejo-secrets/forgejo-variables.yaml | 1 + apps/forge/forgejo/forgejo-values-configmap.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/apps/forge/forgejo-secrets/forgejo-variables.yaml b/apps/forge/forgejo-secrets/forgejo-variables.yaml index 21c3311..c2c76d8 100644 --- a/apps/forge/forgejo-secrets/forgejo-variables.yaml +++ b/apps/forge/forgejo-secrets/forgejo-variables.yaml @@ -7,3 +7,4 @@ metadata: spec: fields: - fieldName: postgresql_password + - fieldName: postgresql_admin_password diff --git a/apps/forge/forgejo/forgejo-values-configmap.yaml b/apps/forge/forgejo/forgejo-values-configmap.yaml index 7e2d726..712c2b6 100644 --- a/apps/forge/forgejo/forgejo-values-configmap.yaml +++ b/apps/forge/forgejo/forgejo-values-configmap.yaml @@ -66,6 +66,9 @@ data: podAnnotations: backup.velero.io/backup-volumes: "data" persistence: + enabled: true + mount: true + create: false claimName: forgejo-data labels: stackspin.net/backupSet: "forgejo" @@ -89,6 +92,7 @@ data: database: gitea username: gitea password: gitea # "${postgresql_password}" + postgresPassword: "${postgresql_admin_password}" primary: podAnnotations: backup.velero.io/backup-volumes: "data"