Enabled auto sync openbanking
This commit is contained in:
@@ -34,10 +34,16 @@ spec:
|
||||
image: fireflyiii/data-importer:version-2.3.4
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- php
|
||||
- artisan
|
||||
- importer:import
|
||||
- /import/import.json
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |-
|
||||
php artisan importer:import /import/import.json
|
||||
status=$?
|
||||
if [ "${status}" -eq 73 ]; then
|
||||
echo "No new transactions; considering the sync successful."
|
||||
exit 0
|
||||
fi
|
||||
exit "${status}"
|
||||
env:
|
||||
- name: FIREFLY_III_URL
|
||||
value: http://firefly-iii
|
||||
@@ -60,6 +66,10 @@ spec:
|
||||
key: ENABLE_BANKING_PRIVATE_KEY
|
||||
- name: IMPORT_DIR_ALLOWLIST
|
||||
value: /import
|
||||
# Recurring imports intentionally overlap their date range.
|
||||
# Keep rejecting duplicates, but do not fail the Job for them.
|
||||
- name: IGNORE_DUPLICATE_ERRORS
|
||||
value: "true"
|
||||
- name: TZ
|
||||
value: Europe/London
|
||||
- name: APP_ENV
|
||||
|
||||
Reference in New Issue
Block a user