cluster

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

commit 4e5cd1d9969305938ba8cd89f954b5bf9f99df51
parent 3bccc57e886b39697146a2b91763353645effa5a
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Fri,  6 Mar 2026 11:59:20 +0100

finishup gotosocial

Signed-off-by: MTRNord <MTRNord@users.noreply.github.com>

Diffstat:
Dapps/talos_cluster/gotosocial/gotosocial-s3-sync-job.yaml | 52----------------------------------------------------
Mapps/talos_cluster/gotosocial/pvc.yaml | 4++--
2 files changed, 2 insertions(+), 54 deletions(-)

diff --git a/apps/talos_cluster/gotosocial/gotosocial-s3-sync-job.yaml b/apps/talos_cluster/gotosocial/gotosocial-s3-sync-job.yaml @@ -1,52 +0,0 @@ -apiVersion: batch/v1 -kind: Job -metadata: - name: gotosocial-s3-sync - namespace: gotosocial -spec: - template: - spec: - restartPolicy: Never - securityContext: - runAsNonRoot: true - runAsUser: 1000 - runAsGroup: 1000 - seccompProfile: - type: RuntimeDefault - containers: - - name: sync - image: amazon/aws-cli:latest - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - ALL - command: - - aws - - s3 - - sync - - /storage/ - - s3://midnightthoughts-gotosocial/ - - --endpoint-url - - https://hel1.your-objectstorage.com - env: - - name: AWS_ACCESS_KEY_ID - valueFrom: - secretKeyRef: - name: gotosocial-s3-secret - key: s3_access_key - - name: AWS_SECRET_ACCESS_KEY - valueFrom: - secretKeyRef: - name: gotosocial-s3-secret - key: s3_secret_key - - name: AWS_DEFAULT_REGION - value: hel1 - volumeMounts: - - name: storage - mountPath: /storage - subPath: storage - volumes: - - name: storage - persistentVolumeClaim: - claimName: gotosocial diff --git a/apps/talos_cluster/gotosocial/pvc.yaml b/apps/talos_cluster/gotosocial/pvc.yaml @@ -6,8 +6,8 @@ metadata: spec: resources: requests: - storage: 5Gi - storageClassName: longhorn + storage: 512Mi + storageClassName: longhorn-2replicas volumeMode: Filesystem accessModes: - ReadWriteMany