# 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: trilium namespace: default spec: interval: 5m chart: spec: chart: app-template version: 3.4.0 sourceRef: kind: HelmRepository name: bjws-charts namespace: flux-system values: controllers: main: containers: main: image: repository: ghcr.io/zadam/trilium tag: 0.63.7 env: TRILIUM_PORT: &port 8080 service: app: controller: main ports: http: port: *port ingress: main: annotations: traefik.ingress.kubernetes.io/router.entrypoints: websecure hosts: - host: "notes.${SECRET_NEW_DOMAIN}" paths: - path: / service: identifier: app port: http persistence: data: existingClaim: trilium globalMounts: - path: /home/node/trilium-data temp: type: persistentVolumeClaim storageClass: openebs-zfs-mainpool accessMode: ReadWriteOnce size: 2G globalMounts: - path: /home/node/trilium-data/log subPath: log - path: /home/node/trilium-data/sessions subPath: sessions - path: /home/node/trilium-data/backup subPath: backup