fava files fix
This commit is contained in:
@@ -20,8 +20,8 @@ spec:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
if [ ! -f /bean/main.beancount ]; then
|
||||
printf '1970-01-01 open Assets:Cash\n1970-01-01 open Equity:Opening-Balances\n' > /main.beancount
|
||||
if [ ! -f /documents/main.beancount ]; then
|
||||
printf '1970-01-01 open Assets:Cash\n1970-01-01 open Equity:Opening-Balances\n' > /documents/main.beancount
|
||||
fi
|
||||
containers:
|
||||
app:
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
tag: latest
|
||||
env:
|
||||
TZ: Europe/Moscow
|
||||
BEANCOUNT_FILE: /main.beancount
|
||||
BEANCOUNT_FILE: /documents/main.beancount
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
@@ -70,17 +70,8 @@ spec:
|
||||
- acc.aggtaa.com
|
||||
|
||||
persistence:
|
||||
bean:
|
||||
type: persistentVolumeClaim
|
||||
accessMode: ReadWriteOnce
|
||||
size: 1Gi
|
||||
storageClass: longhorn
|
||||
retain: true
|
||||
globalMounts:
|
||||
- path: /bean
|
||||
documents:
|
||||
type: persistentVolumeClaim
|
||||
existingClaim: fava-documents
|
||||
globalMounts:
|
||||
- path: /documents
|
||||
readOnly: true
|
||||
|
||||
Reference in New Issue
Block a user