88 lines
1.4 KiB
YAML
88 lines
1.4 KiB
YAML
# Default values for fireflyIII.
|
|
|
|
image:
|
|
repository: fireflyiii/core
|
|
pullPolicy: IfNotPresent
|
|
tag: version-5.5.12
|
|
|
|
strategy:
|
|
type: Recreate
|
|
|
|
podSecurityContext:
|
|
runAsNonRoot: false
|
|
runAsUser: 0
|
|
runAsGroup: 0
|
|
fsGroup: 0
|
|
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 8080
|
|
tcp:
|
|
enabled: true
|
|
type: ClusterIP
|
|
ports:
|
|
tcp:
|
|
enabled: true
|
|
port: 51080
|
|
protocol: TCP
|
|
|
|
initContainers:
|
|
- name: init-postgresdb
|
|
image: postgres:13.1
|
|
command:
|
|
- "sh"
|
|
- "-c"
|
|
- "until pg_isready -U authelia -h ${pghost} ; do sleep 2 ; done"
|
|
imagePullPolicy: IfNotPresent
|
|
env:
|
|
- name: pghost
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: plainhost
|
|
|
|
probes:
|
|
liveness:
|
|
path: "/login"
|
|
|
|
readiness:
|
|
path: "/login"
|
|
|
|
startup:
|
|
path: "/login"
|
|
|
|
env:
|
|
DB_USERNAME: firefly
|
|
DB_DATABASE: firefly
|
|
DB_CONNECTION: pgsql
|
|
DB_PORT: 5432
|
|
APP_KEY: AGcfkCUS233ZWmBXztYbdyCs2u7kkz55
|
|
|
|
envValueFrom:
|
|
DB_HOST:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql_host
|
|
DB_PASSWORD:
|
|
secretKeyRef:
|
|
name: dbcreds
|
|
key: postgresql-password
|
|
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/var/www/html/storage/upload"
|
|
type: pvc
|
|
accessMode: ReadWriteOnce
|
|
size: "100Gi"
|
|
|
|
|
|
# Enabled postgres
|
|
postgresql:
|
|
enabled: true
|
|
postgresqlUsername: firefly
|
|
postgresqlDatabase: firefly
|
|
existingSecret: dbcreds
|