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: spec:
fields: fields:
- fieldName: postgresql_password - fieldName: postgresql_password
- fieldName: postgresql_admin_password

View File

@ -66,6 +66,9 @@ data:
podAnnotations: podAnnotations:
backup.velero.io/backup-volumes: "data" backup.velero.io/backup-volumes: "data"
persistence: persistence:
enabled: true
mount: true
create: false
claimName: forgejo-data claimName: forgejo-data
labels: labels:
stackspin.net/backupSet: "forgejo" stackspin.net/backupSet: "forgejo"
@ -89,6 +92,7 @@ data:
database: gitea database: gitea
username: gitea username: gitea
password: gitea # "${postgresql_password}" password: gitea # "${postgresql_password}"
postgresPassword: "${postgresql_admin_password}"
primary: primary:
podAnnotations: podAnnotations:
backup.velero.io/backup-volumes: "data" backup.velero.io/backup-volumes: "data"