k3s-cluster/cluster/apps/default/trilium/helm-release.yaml

50 lines
1003 B
YAML
Raw Normal View History

apiVersion: helm.toolkit.fluxcd.io/v2
2023-09-07 22:23:40 +00:00
kind: HelmRelease
metadata:
name: trilium
namespace: default
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 3.4.x
2023-09-07 22:23:40 +00:00
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
image:
repository: ghcr.io/zadam/trilium
tag: 0.63.7
2023-09-07 22:23:40 +00:00
2023-09-07 22:28:35 +00:00
env:
TRILIUM_PORT: &port 8080
2023-09-07 22:23:40 +00:00
service:
main:
ports:
http:
2023-09-07 22:28:35 +00:00
port: *port
2023-09-07 22:23:40 +00:00
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