Files
auricom-home-cluster/kubernetes/apps/default/ghostfolio/app/helmrelease.yaml
2023-07-09 22:24:14 +02:00

71 lines
1.6 KiB
YAML

---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/helm.toolkit.fluxcd.io/helmrelease_v2beta1.json
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: &app ghostfolio
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/onedr0p/postgres-init:14.8
imagePullPolicy: IfNotPresent
envFrom: &envFrom
- secretRef:
name: ghostfolio-secret
controller:
annotations:
reloader.stakater.com/auto: "true"
image:
repository: docker.io/ghostfolio/ghostfolio
tag: 1.286.0
env:
NODE_ENV: production
REDIS_HOST: redis.default.svc.cluster.local
REDIS_PORT: 6379
envFrom: *envFrom
service:
main:
ports:
http:
port: 3333
ingress:
main:
enabled: true
ingressClassName: "nginx"
annotations:
hajimari.io/icon: mdi:cash-multiple
hosts:
- host: &host "portfolio.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
resources:
requests:
cpu: 100m
memory: 256Mi