khuedoan-homelab/apps/matrix/values.yaml
Khue Doan e28bada08e refactor: remove explicit StorageClass selection
Previously PVCs need to define storage class explicitly because if
a PVC was created before Longhorn is ready, it will stay pending forever
until we delete and recreate it (ArgoCD didn't have sync wave for
ApplicationSet back then).

Kubernetes 1.28 has retroactive assignment of a default StorageClass for
existing unbound persistent volume claims without any storage class assigned.

https://kubernetes.io/blog/2023/08/15/kubernetes-v1-28-release/#automatic-retroactive-assignment-of-a-default-storageclass-graduates-to-stable
2023-11-19 12:04:10 +07:00

86 lines
2.1 KiB
YAML

elementweb:
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
external-dns.alpha.kubernetes.io/target: "homelab-tunnel.khuedoan.com"
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
hajimari.io/appName: Chat
hajimari.io/icon: chat
hosts:
- host: &frontend_host chat.khuedoan.com
paths:
- path: /
pathType: Prefix
tls:
- secretName: element-tls-certificate
hosts:
- *frontend_host
config:
default:
base_url: https://matrix.khuedoan.com
server_name: khuedoan.com
dendrite:
polylith: false
image:
name: "locmai/dendrite-monolith:010922" # TODO switch to official image
pullPolicy: IfNotPresent
configuration:
version: 2
servername: &backend_host matrix.khuedoan.com
database:
host: matrix-postgresql:5432
user: dendrite
password: dendrite
max_open_conns: 100
max_idle_conns: 2
conn_max_lifetime: -1
metrics:
enabled: true
jetstream:
in_memory: false
addresses:
- nats://matrix-nats:4222
persistence:
logs:
capacity: 1Gi
media:
capacity: 5Gi
nats:
enabled: true
nats:
jetstream:
enabled: true
postgresql:
enabled: true
global:
postgresql:
postgresqlDatabase: dendrite
postgresqlUsername: dendrite
postgresqlPassword: dendrite
persistence:
enabled: true
accessModes:
- ReadWriteOnce
size: 5Gi
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
external-dns.alpha.kubernetes.io/target: "homelab-tunnel.khuedoan.com"
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
nginx.ingress.kubernetes.io/proxy-body-size: 32m
hajimari.io/enable: 'false'
hosts:
- host: *backend_host
paths:
- path: /
pathType: Prefix
tls:
- secretName: dendrite-tls-certificate
hosts:
- *backend_host