feat(fireflyiii): add cron support (#1470)
* feat(fireflyiii): add cron support * use curl for cron, add sercet for static cron token * adjust dns name * adjust schedule as per documentation * simplify dns name * make secret auto generated * whoops * actually load the secret * remove whitespace * use alpineImage * autogen remembered sercret APP_KEY * bump minor
This commit is contained in:
@@ -33,7 +33,6 @@ env:
|
||||
DB_DATABASE: firefly
|
||||
DB_CONNECTION: pgsql
|
||||
DB_PORT: 5432
|
||||
APP_KEY: AGcfkCUS233ZWmBXztYbdyCs2u7kkz55
|
||||
|
||||
envValueFrom:
|
||||
DB_HOST:
|
||||
@@ -44,12 +43,25 @@ envValueFrom:
|
||||
secretKeyRef:
|
||||
name: dbcreds
|
||||
key: postgresql-password
|
||||
STATIC_CRON_TOKEN:
|
||||
secretKeyRef:
|
||||
name: fireflyiii-secrets
|
||||
key: STATIC_CRON_TOKEN
|
||||
APP_KEY:
|
||||
secretKeyRef:
|
||||
name: fireflyiii-secrets
|
||||
key: APP_KEY
|
||||
|
||||
persistence:
|
||||
data:
|
||||
enabled: true
|
||||
mountPath: "/var/www/html/storage/upload"
|
||||
|
||||
cronjob:
|
||||
schedule: "0 3 * * *"
|
||||
annotations: {}
|
||||
failedJobsHistoryLimit: 5
|
||||
successfulJobsHistoryLimit: 2
|
||||
|
||||
# Enabled postgres
|
||||
postgresql:
|
||||
|
||||
Reference in New Issue
Block a user