Enabled auto sync openbanking
This commit is contained in:
@@ -34,10 +34,16 @@ spec:
|
|||||||
image: fireflyiii/data-importer:version-2.3.4
|
image: fireflyiii/data-importer:version-2.3.4
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- php
|
- /bin/sh
|
||||||
- artisan
|
- -c
|
||||||
- importer:import
|
- |-
|
||||||
- /import/import.json
|
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:
|
env:
|
||||||
- name: FIREFLY_III_URL
|
- name: FIREFLY_III_URL
|
||||||
value: http://firefly-iii
|
value: http://firefly-iii
|
||||||
@@ -60,6 +66,10 @@ spec:
|
|||||||
key: ENABLE_BANKING_PRIVATE_KEY
|
key: ENABLE_BANKING_PRIVATE_KEY
|
||||||
- name: IMPORT_DIR_ALLOWLIST
|
- name: IMPORT_DIR_ALLOWLIST
|
||||||
value: /import
|
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
|
- name: TZ
|
||||||
value: Europe/London
|
value: Europe/London
|
||||||
- name: APP_ENV
|
- name: APP_ENV
|
||||||
|
|||||||
Reference in New Issue
Block a user