apiVersion: helm.toolkit.fluxcd.io/v2 kind: HelmRelease metadata: name: trilium namespace: default spec: interval: 5m chart: spec: chart: app-template version: 3.4.x sourceRef: kind: HelmRepository name: bjws-charts namespace: flux-system values: image: repository: ghcr.io/zadam/trilium tag: 0.63.7 env: TRILIUM_PORT: &port 8080 service: main: ports: http: port: *port ingress: main: enabled: true annotations: traefik.ingress.kubernetes.io/router.entrypoints: websecure hosts: - host: &host "notes.${SECRET_NEW_DOMAIN}" paths: - path: / pathType: Prefix tls: - hosts: - *host persistence: storage: enabled: true type: hostPath hostPath: /mnt/MainPool/Kubernetes/trilium mountPath: /home/node/trilium-data