feat: add trilium

This commit is contained in:
SeanOMik 2023-09-07 18:23:40 -04:00
parent 9327cb8115
commit 24dfcf6815
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
3 changed files with 56 additions and 1 deletions

View File

@ -4,6 +4,7 @@ resources:
- ./fireflyiii - ./fireflyiii
- ./cdn - ./cdn
- ./gitea - ./gitea
- ./dendron #- ./dendron
- ./trilium
#- ./whoami #- ./whoami
#- ./msrewards #- ./msrewards

View File

@ -0,0 +1,50 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: trilium
namespace: default
spec:
interval: 5m
chart:
spec:
chart: app-template
version: 1.3.x
sourceRef:
kind: HelmRepository
name: bjws-charts
namespace: flux-system
values:
image:
repository: zadam/trilium
tag: 0.61-latest
service:
main:
ports:
http:
port: 8080
ingress:
main:
enabled: true
annotations:
cert-manager.io/cluster-issuer: letsencrypt-production
traefik.ingress.kubernetes.io/router.entrypoints: websecure
#traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
hosts:
- host: &host "notes.${SECRET_NEW_DOMAIN}"
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- *host
secretName: wildcard-main-tls
persistence:
storage:
enabled: true
type: hostPath
hostPath: /mnt/MainPool/Kubernetes/trilium
mountPath: /home/node/trilium-data

View File

@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helm-release.yaml