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