diff --git a/apps/production/element-server-suite.yaml b/apps/production/element-server-suite.yaml index 7e8f426..06698a3 100644 --- a/apps/production/element-server-suite.yaml +++ b/apps/production/element-server-suite.yaml @@ -14,30 +14,44 @@ spec: name: element-ess-oci namespace: flux-system values: - # GLOBAL: Hier kommen die Basis-Daten und die Domain-Verteilung rein - global: - domainName: axion1337.chat - hosts: - elementWeb: axion1337.chat - synapse: matrix.axion1337.chat - synapseAdmin: admin.axion1337.chat - postgresql: - existingSecret: matrix-postgres-auth + # Wichtig: serverName muss an die Wurzel! + serverName: axion1337.chat - # COMPONENTS: Hier "schalten" wir die Services ein - components: - synapse: - enabled: true - elementWeb: - enabled: true - synapseAdmin: - enabled: true - wellKnown: - enabled: true - - # INGRESS: Nur die globale Steuerung (Traefik + SSL) + # Globale Ingress-Einstellungen (Traefik & SSL) ingress: className: traefik annotations: cert-manager.io/cluster-issuer: letsencrypt-prod - traefik.ingress.kubernetes.io/router.tls: "true" \ No newline at end of file + traefik.ingress.kubernetes.io/router.tls: "true" + + # 1. Synapse + synapse: + enabled: true + ingress: + host: matrix.axion1337.chat + + # 2. Element Web + elementWeb: + enabled: true + ingress: + host: axion1337.chat + + # 3. Element Admin (Der Service für admin.axion1337.chat) + elementAdmin: + enabled: true + ingress: + host: admin.axion1337.chat + + # 4. Well-Known Delegation (Pflicht für Föderation) + wellKnownDelegation: + enabled: true + ingress: + host: axion1337.chat + + # 5. Postgres (Verbindung zum externen DB-Secret) + postgres: + host: postgres-postgresql.database.svc.cluster.local # Dein DB-Host + user: postgres + password: + secret: matrix-postgres-auth + secretKey: password \ No newline at end of file