cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 157ffa001a8cf4f6a59427795c6d3d2d9bfb22dd
parent 2d4d38645a928f166479a4944647787904231a24
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 12 Apr 2025 19:30:15 +0200

Maybe fix matrix

Diffstat:
Mapps/base/matrix/heisenbridge/deployment.yaml | 83++++++++++++++++++++++++++++++++++++++++++++-----------------------------------
1 file changed, 46 insertions(+), 37 deletions(-)

diff --git a/apps/base/matrix/heisenbridge/deployment.yaml b/apps/base/matrix/heisenbridge/deployment.yaml @@ -25,57 +25,66 @@ spec: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - heisenbridge + matchExpressions: + - key: app + operator: In + values: + - heisenbridge topologyKey: "kubernetes.io/hostname" containers: - name: heisenbridge image: hif1/heisenbridge:1.15.3 imagePullPolicy: IfNotPresent - args: ["-c", "/data/heisenbridge.yaml", "--listen-address", "0.0.0.0", "https://matrix.midnightthoughts.space", - "-v", "--owner", "@mtrnord:midnightthoughts.space"] + args: + [ + "-c", + "/data/heisenbridge.yaml", + "--listen-address", + "0.0.0.0", + "-v", + "--owner", + "@mtrnord:midnightthoughts.space", + "https://matrix.midnightthoughts.space", + ] resources: - limits: {} - requests: - memory: "344Mi" - cpu: "252m" + limits: {} + requests: + memory: "344Mi" + cpu: "252m" securityContext: - runAsUser: 1000 - runAsGroup: 1000 - readOnlyRootFilesystem: true + runAsUser: 1000 + runAsGroup: 1000 + readOnlyRootFilesystem: true ports: - - containerPort: 9898 - name: appservice - protocol: TCP + - containerPort: 9898 + name: appservice + protocol: TCP volumeMounts: - - name: config - mountPath: "/data/heisenbridge.yaml" - subPath: heisenbridge.yaml - readOnly: true - - mountPath: /tmp - name: tmp + - name: config + mountPath: "/data/heisenbridge.yaml" + subPath: heisenbridge.yaml + readOnly: true + - mountPath: /tmp + name: tmp livenessProbe: - httpGet: - path: /_matrix/mau/live - port: appservice - scheme: HTTP + httpGet: + path: /_matrix/mau/live + port: appservice + scheme: HTTP readinessProbe: - httpGet: - path: /_matrix/mau/live - port: appservice - scheme: HTTP + httpGet: + path: /_matrix/mau/live + port: appservice + scheme: HTTP startupProbe: - httpGet: - path: /_matrix/mau/live - port: appservice - scheme: HTTP + httpGet: + path: /_matrix/mau/live + port: appservice + scheme: HTTP volumes: - name: config secret: - secretName: heisenbridge + secretName: heisenbridge - name: tmp emptyDir: - sizeLimit: 2048Mi + sizeLimit: 2048Mi