Added cryptpad

This commit is contained in:
Justine Pelletreau
2023-05-05 14:04:46 +02:00
parent ffd1ec60c7
commit 7beb607627
5 changed files with 238 additions and 0 deletions

View File

@ -0,0 +1,50 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: cryptpad
name: cryptpad
spec:
replicas: 1
selector:
matchLabels:
run: cryptpad
template:
metadata:
labels:
run: cryptpad
spec:
containers:
- image: promasu/cryptpad:latest
name: cryptpad
ports:
- containerPort: 3000
resources: {}
volumeMounts:
- mountPath: /cryptpad/blob
name: cryptpad-blob
- mountPath: /cryptpad/block
name: cryptpad-block
- mountPath: /cryptpad/data
name: cryptpad-data
- mountPath: /cryptpad/datastore
name: cryptpad-datastore
- mountPath: /cryptpad/config
name: cryptpad-config
restartPolicy: Always
volumes:
- name: cryptpad-blob
persistentVolumeClaim:
claimName: cryptpad-blob
- name: cryptpad-block
persistentVolumeClaim:
claimName: cryptpad-block
- name: cryptpad-data
persistentVolumeClaim:
claimName: cryptpad-data
- name: cryptpad-datastore
persistentVolumeClaim:
claimName: cryptpad-datastore
- name: cryptpad-config
persistentVolumeClaim:
claimName: cryptpad-config