mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
89 lines
2.4 KiB
YAML
89 lines
2.4 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app ghostfolio
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 3.5.0
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: bjw-s
|
|
namespace: flux-system
|
|
maxHistory: 2
|
|
install:
|
|
createNamespace: true
|
|
remediation:
|
|
retries: 3
|
|
upgrade:
|
|
cleanupOnFail: true
|
|
remediation:
|
|
strategy: rollback
|
|
retries: 3
|
|
uninstall:
|
|
keepHistory: false
|
|
values:
|
|
controllers:
|
|
ghostfolio:
|
|
strategy: RollingUpdate
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
initContainers:
|
|
init-db:
|
|
image:
|
|
repository: ghcr.io/onedr0p/postgres-init
|
|
tag: 16
|
|
envFrom: &envFrom
|
|
- secretRef:
|
|
name: ghostfolio-secret
|
|
containers:
|
|
app:
|
|
image:
|
|
repository: docker.io/ghostfolio/ghostfolio
|
|
tag: 2.113.0@sha256:700eae16536aa77f8f48fd074ecf6dcaf40e867171c84807eb72316884a2f644
|
|
env:
|
|
NODE_ENV: production
|
|
REDIS_HOST: dragonfly.database.svc.cluster.local.
|
|
REDIS_PORT: 6379
|
|
envFrom: *envFrom
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
service:
|
|
app:
|
|
controller: *app
|
|
ports:
|
|
http:
|
|
port: 3333
|
|
ingress:
|
|
app:
|
|
enabled: true
|
|
className: nginx
|
|
annotations:
|
|
hajimari.io/icon: mdi:cash-multiple
|
|
gethomepage.dev/enabled: "true"
|
|
gethomepage.dev/name: Ghostfolio
|
|
gethomepage.dev/description: NVR with realtime local object detection for IP cameras
|
|
gethomepage.dev/group: Applications
|
|
gethomepage.dev/icon: ghostfolio.png
|
|
gethomepage.dev/pod-selector: >-
|
|
app in (
|
|
ghostfolio
|
|
)
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
service:
|
|
identifier: app
|
|
port: http
|
|
tls:
|
|
- hosts:
|
|
- *host
|