apps/forge: try to fix persistence

This commit is contained in:
xeruf 2024-02-12 11:16:26 +01:00
parent 5738413220
commit e434cdf9d3
2 changed files with 5 additions and 0 deletions

View File

@ -7,3 +7,4 @@ metadata:
spec:
fields:
- fieldName: postgresql_password
- fieldName: postgresql_admin_password

View File

@ -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"