diff --git a/apps/dendrite/Chart.yaml b/apps/dendrite/Chart.yaml new file mode 100644 index 00000000..37a90079 --- /dev/null +++ b/apps/dendrite/Chart.yaml @@ -0,0 +1,7 @@ +apiVersion: v2 +name: dendrite +version: 0.0.0 +dependencies: + - name: dendrite + version: 0.0.1 + repository: https://locmai.github.io/charts # TODO switch to official chart diff --git a/apps/dendrite/values.yaml b/apps/dendrite/values.yaml new file mode 100644 index 00000000..0c56df89 --- /dev/null +++ b/apps/dendrite/values.yaml @@ -0,0 +1,62 @@ +dendrite: + polylith: false + image: + name: "locmai/dendrite-monolith:010922" # TODO switch to official image + pullPolicy: IfNotPresent + configuration: + version: 2 + servername: &host matrix.khuedoan.com + database: + host: "dendrite-postgresql.apps.svc.cluster.local: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://dendrite-nats:4222 + persistence: + storageClass: longhorn + 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 + storageClass: longhorn + 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 + hosts: + - host: *host + paths: + - path: / + pathType: Prefix + tls: + - secretName: dendrite-tls-certificate + hosts: + - *host diff --git a/apps/element/Chart.yaml b/apps/element/Chart.yaml new file mode 100644 index 00000000..343b80fd --- /dev/null +++ b/apps/element/Chart.yaml @@ -0,0 +1,7 @@ +apiVersion: v2 +name: elementweb +version: 0.0.0 +dependencies: + - name: elementweb + version: 0.0.1 + repository: https://locmai.github.io/charts # TODO switch to official chart diff --git a/apps/element/values.yaml b/apps/element/values.yaml new file mode 100644 index 00000000..fcc8b0ac --- /dev/null +++ b/apps/element/values.yaml @@ -0,0 +1,21 @@ +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" + hosts: + - host: &host chat.khuedoan.com + paths: + - path: / + pathType: Prefix + tls: + - secretName: element-tls-certificate + hosts: + - *host + config: + default: + base_url: https://matrix.khuedoan.com + server_name: khuedoan.com