Unverified Commit 505500cb authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

change name of persistent volume

parent e3ae9ed3
Pipeline #11833 passed with stages
in 4 minutes and 20 seconds
apiVersion: apps/v1
kind: Deployment
metadata:
name: image-helper-deployment
namespace: memobase
labels:
app: imageserver-app
spec:
selector:
matchLabels:
app: imageserver-app
replicas: 1
template:
metadata:
labels:
app: imageserver-app
tier: web
spec:
containers:
- name: image-helper-container
image: nginx
imagePullPolicy: Always
volumeMounts:
- name: av-volume
mountPath: /data/
volumes:
- name: av-volume
persistentVolumeClaim:
claimName: av-volume-claim
......@@ -2,7 +2,7 @@ apiVersion: v1
kind: PersistentVolumeClaim
metadata:
namespace: memobase
name: av-volume-claim
name: media-volume-claim
labels:
app: mediaserver-app
spec:
......@@ -10,6 +10,6 @@ spec:
- ReadWriteMany
resources:
requests:
storage: 20Gi
storage: 1024Gi
storageClassName: csi-cephfs
volumeMode: Filesystem
......@@ -31,16 +31,16 @@ spec:
protocol: TCP
imagePullPolicy: Always
volumeMounts:
- name: av-volume
- name: media-volume
mountPath: /data
- name: config
mountPath: /app/configs
command: ["/app/app", "-cfg", "/app/configs/memostream.toml"]
restartPolicy: Always
volumes:
- name: av-volume
- name: media-volume
persistentVolumeClaim:
claimName: av-volume-claim
claimName: media-volume-claim
- name: config
configMap:
name: mediaserver-config
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment