mirror of
https://github.com/khuedoan/homelab.git
synced 2025-03-09 04:09:38 +07:00
refactor(matrix): combine element and dendrite to a single namespace
This commit is contained in:
parent
c4a7cc4737
commit
8e2a41f6f3
@ -1,7 +0,0 @@
|
||||
apiVersion: v2
|
||||
name: dendrite
|
||||
version: 0.0.0
|
||||
dependencies:
|
||||
- name: dendrite
|
||||
version: 0.0.2
|
||||
repository: https://locmai.github.io/charts # TODO switch to official chart
|
@ -1,21 +0,0 @@
|
||||
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
|
@ -5,3 +5,6 @@ dependencies:
|
||||
- name: elementweb
|
||||
version: 0.0.3
|
||||
repository: https://locmai.github.io/charts # TODO switch to official chart
|
||||
- name: dendrite
|
||||
version: 0.0.3
|
||||
repository: https://locmai.github.io/charts # TODO switch to official chart
|
@ -1,3 +1,25 @@
|
||||
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: &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:
|
||||
@ -5,7 +27,7 @@ dendrite:
|
||||
pullPolicy: IfNotPresent
|
||||
configuration:
|
||||
version: 2
|
||||
servername: &host matrix.khuedoan.com
|
||||
servername: &backend_host matrix.khuedoan.com
|
||||
database:
|
||||
host: "dendrite-postgresql:5432"
|
||||
user: "dendrite"
|
||||
@ -52,11 +74,11 @@ dendrite:
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: 32m
|
||||
hosts:
|
||||
- host: *host
|
||||
- host: *backend_host
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- secretName: dendrite-tls-certificate
|
||||
hosts:
|
||||
- *host
|
||||
- *backend_host
|
Loading…
Reference in New Issue
Block a user