do: vikunja postgres pvc

This commit is contained in:
xeruf 2022-07-12 18:19:02 +01:00
parent f2195b5f60
commit e56d95cd17
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,16 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: vikunja-postgres
namespace: stackspout
labels:
stackspin.net/backupSet: "vikunja"
spec:
accessModes:
- ReadWriteOnce
volumeMode: Filesystem
resources:
requests:
storage: 2Gi
storageClassName: local-path

View File

@ -53,3 +53,10 @@ data:
image: vikunja/frontend:0.18.2
postgresql:
enabled: true
postgresqlUsername: vikunja
postgresqlPassword: "${postgres_password}"
postgresqlDatabase: vikunja
persistence:
enabled: true
existingClaim: vikunja-postgres