Add PVC for nest-matrix-bot E2EE needs
This commit is contained in:
parent
3da9d277d4
commit
17408216c0
2 changed files with 21 additions and 0 deletions
|
|
@ -67,3 +67,10 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: matrix-bot-credentials
|
name: matrix-bot-credentials
|
||||||
key: client-secret
|
key: client-secret
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /app/store
|
||||||
|
name: bot-store
|
||||||
|
volumes:
|
||||||
|
- name: bot-store
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: nest-matrix-bot-pvc
|
||||||
|
|
|
||||||
14
services/nest-matrix-bot/nest-matrix-bot-pvcs.yaml
Normal file
14
services/nest-matrix-bot/nest-matrix-bot-pvcs.yaml
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: nest-matrix-bot-pvc
|
||||||
|
labels:
|
||||||
|
recurring-job.longhorn.io/source: "enabled"
|
||||||
|
recurring-job-group.longhorn.io/app-config-group: "enabled"
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: longhorn
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 100Mi
|
||||||
Loading…
Add table
Reference in a new issue