Files
auricom-home-cluster/kubernetes/apps/default/ghostfolio/app/helmrelease.yaml
2024-06-14 00:28:33 +00:00

80 lines
2.0 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.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.2.1
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.87.0@sha256:f449692b5123bd9577f063fcd53dded9d0ce8719555cc4a9e97a1dcc0509f914
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
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host