mirror of
https://github.com/truenas/charts.git
synced 2026-04-14 10:40:31 +08:00
* add `firefly-iii` to `community` train * initial templates * fix path * llint * remove app_env * more work * add service * typo * redis service * restart never cron * add cap * more cap * more caps * fix port * fix few things * more fixes * fix cron * another var * typo * update meta * add importer port gui * add missing keys from values * conditionally render the importer config * fix config
53 lines
1.6 KiB
Smarty
53 lines
1.6 KiB
Smarty
{{- define "firefly.persistence" -}}
|
|
persistence:
|
|
uploads:
|
|
enabled: true
|
|
type: {{ .Values.fireflyStorage.uploads.type }}
|
|
datasetName: {{ .Values.fireflyStorage.uploads.datasetName | default "" }}
|
|
hostPath: {{ .Values.fireflyStorage.uploads.hostPath | default "" }}
|
|
targetSelector:
|
|
firefly:
|
|
firefly:
|
|
mountPath: /var/www/html/storage/upload
|
|
tmp:
|
|
enabled: true
|
|
type: emptyDir
|
|
targetSelector:
|
|
firefly:
|
|
firefly:
|
|
mountPath: /tmp
|
|
firefly-importer:
|
|
firefly-importer:
|
|
mountPath: /tmp
|
|
|
|
# Postgres
|
|
postgresdata:
|
|
enabled: true
|
|
type: {{ .Values.fireflyStorage.pgData.type }}
|
|
datasetName: {{ .Values.fireflyStorage.pgData.datasetName | default "" }}
|
|
hostPath: {{ .Values.fireflyStorage.pgData.hostPath | default "" }}
|
|
targetSelector:
|
|
# Postgres pod
|
|
postgres:
|
|
# Postgres container
|
|
postgres:
|
|
mountPath: /var/lib/postgresql/data
|
|
# Permissions container
|
|
permissions:
|
|
mountPath: /mnt/directories/postgres_data
|
|
postgresbackup:
|
|
enabled: true
|
|
type: {{ .Values.fireflyStorage.pgBackup.type }}
|
|
datasetName: {{ .Values.fireflyStorage.pgBackup.datasetName | default "" }}
|
|
hostPath: {{ .Values.fireflyStorage.pgBackup.hostPath | default "" }}
|
|
targetSelector:
|
|
# Postgres backup pod
|
|
postgresbackup:
|
|
# Postgres backup container
|
|
postgresbackup:
|
|
mountPath: /postgres_backup
|
|
# Permissions container
|
|
permissions:
|
|
mountPath: /mnt/directories/postgres_backup
|
|
{{- end -}}
|