This commit is contained in:
Waylon Walker 2025-11-22 22:20:32 -06:00
parent 8c0277c8f3
commit 9e2c30af22
60 changed files with 8853 additions and 232 deletions

54
matrix/generate.yaml Normal file
View file

@ -0,0 +1,54 @@
apiVersion: v1
kind: Namespace
metadata:
name: matrix
---
apiVersion: batch/v1
kind: Job
metadata:
name: synapse-generate
namespace: matrix
spec:
ttlSecondsAfterFinished: 100
template:
spec:
containers:
- image: docker.io/matrixdotorg/synapse:latest
name: synapse
command: ["generate"]
volumeMounts:
- mountPath: /data
name: synapse-data
volumes:
- name: synapse-data
persistentVolumeClaim:
claimName: synapse-data
# template:
# spec:
# containers:
# - image: docker.io/matrixdotorg/synapse:latest
# name: synapse
# command: ["generate"]
# volumeMounts:
# - mountPath: /data
# name: synapse-data
# volumes:
# - name: synapse-data
# persistentVolumeClaim:
# claimName: synapse-data
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: synapse-data
name: synapse-data
namespace: matrix
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}