Added cryptpad
This commit is contained in:
50
cryptpad/crypt-deploy.yaml
Normal file
50
cryptpad/crypt-deploy.yaml
Normal 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
|
||||
Reference in New Issue
Block a user