--- # 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 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: controller: strategy: RollingUpdate annotations: reloader.stakater.com/auto: "true" initContainers: 01-init-db: image: ghcr.io/auricom/postgres-init:15.4 imagePullPolicy: IfNotPresent envFrom: &envFrom - secretRef: name: ghostfolio-secret image: repository: docker.io/ghostfolio/ghostfolio tag: 2.0.0 env: NODE_ENV: production REDIS_HOST: redis-master.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