cluster

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

commit 11450af057f6bac113225d4c1c9d041e9e3a2f74
parent 0155de6436fe8f96e6e58ee35e24eff65d179522
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sat, 12 Apr 2025 18:00:31 +0200

Fix formatting

Diffstat:
Mapps/base/matrix/heisenbridge/deployment.yaml | 79++++++++++++++++++++++++++++++++++++-------------------------------------------
1 file changed, 36 insertions(+), 43 deletions(-)

diff --git a/apps/base/matrix/heisenbridge/deployment.yaml b/apps/base/matrix/heisenbridge/deployment.yaml @@ -25,62 +25,55 @@ 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", - ] + args: ["-c", "/data/heisenbridge.yaml", "--listen-address", "0.0.0.0", "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: /healthz - port: appservice - scheme: HTTP - initialDelaySeconds: 15 - periodSeconds: 10 + httpGet: + path: /healthz + port: appservice + scheme: HTTP + initialDelaySeconds: 15 + periodSeconds: 10 startupProbe: - httpGet: - path: /healthz - port: appservice - initialDelaySeconds: 15 - failureThreshold: 30 - periodSeconds: 10 + httpGet: + path: /healthz + port: appservice + initialDelaySeconds: 15 + failureThreshold: 30 + periodSeconds: 10 volumes: - name: config secret: - secretName: heisenbridge + secretName: heisenbridge - name: tmp emptyDir: - sizeLimit: 2048Mi + sizeLimit: 2048Mi