--- # 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 maybe namespace: default spec: interval: 30m chart: spec: chart: app-template version: 3.5.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 dependsOn: - name: rook-ceph-cluster namespace: rook-ceph - name: volsync namespace: volsync values: controllers: maybe: annotations: reloader.stakater.com/auto: "true" initContainers: init-db: image: repository: ghcr.io/onedr0p/postgres-init tag: 16 envFrom: &envFrom - secretRef: name: maybe-secret containers: app: image: repository: ghcr.io/maybe-finance/maybe tag: 0.1.0-alpha.17@sha256:29898491a708310771ac5a3733d4ed54ff54a596059d3d8ed8ebd64ed2ec77ef env: SELF_HOSTING_ENABLED: "true" RAILS_FORCE_SSL: "false" RAILS_ASSUME_SSL: "false" GOOD_JOB_EXECUTION_MODE: async envFrom: *envFrom resources: requests: cpu: 23m memory: 204M limits: memory: 1Gi service: app: controller: *app ports: http: port: 3000 ingress: app: enabled: true className: nginx annotations: hajimari.io/icon: mdi:cash-multiple gethomepage.dev/enabled: "true" gethomepage.dev/group: Media gethomepage.dev/name: maybe gethomepage.dev/icon: maybe.png hosts: - host: &host "{{ .Release.Name }}.${SECRET_EXTERNAL_DOMAIN}" paths: - path: / service: identifier: app port: http tls: - hosts: - *host persistence: config: enabled: true existingClaim: *app globalMounts: - path: /rails/storage