mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 23:45:25 +02:00
86 lines
2.0 KiB
YAML
86 lines
2.0 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app firefly-iii
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.5.1
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
initContainers:
|
|
01-init-db:
|
|
image: ghcr.io/auricom/postgres-init:15.4
|
|
imagePullPolicy: IfNotPresent
|
|
envFrom: &envFrom
|
|
- secretRef:
|
|
name: bazarr-secret
|
|
controller:
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
image:
|
|
repository: fireflyiii/core
|
|
tag: version-6.0.8
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: 8080
|
|
env:
|
|
TZ: ${TIMEZONE}
|
|
APP_URL: "https://cash.${SECRET_DOMAIN}"
|
|
DB_CONNECTION: "pgsql"
|
|
DB_HOST: postgres-rw.default.svc.cluster.local
|
|
DB_PORT: "5432"
|
|
DB_DATABASE: *app
|
|
MAIL_MAILER: log
|
|
TRUSTED_PROXIES: "**"
|
|
SEND_REGISTRATION_MAIL: false
|
|
SEND_ERROR_MESSAGE: false
|
|
SEND_LOGIN_NEW_IP_WARNING: false
|
|
envFrom:
|
|
- secretRef:
|
|
name: firefly-iii-secret
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: firefly-iii-config
|
|
mountPath: /var/www/html/firefly-iii/storage/upload
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
ingressClassName: "nginx"
|
|
annotations:
|
|
hajimari.io/icon: mdi:cash
|
|
hosts:
|
|
- host: &host "cash.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|