diff --git a/services/communication/wellknown.yaml b/services/communication/wellknown.yaml index d0bf785..d09ce27 100644 --- a/services/communication/wellknown.yaml +++ b/services/communication/wellknown.yaml @@ -144,3 +144,36 @@ spec: name: matrix-wellknown port: number: 80 +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: matrix-wellknown-matrix-live + namespace: communication + annotations: + kubernetes.io/ingress.class: traefik + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" +spec: + tls: + - hosts: + - matrix.live.bstein.dev + secretName: matrix-live-tls + rules: + - host: matrix.live.bstein.dev + http: + paths: + - path: /.well-known/matrix/client + pathType: Prefix + backend: + service: + name: matrix-wellknown + port: + number: 80 + - path: /.well-known/matrix/server + pathType: Prefix + backend: + service: + name: matrix-wellknown + port: + number: 80