From be89660a18620903a4488c742c03163974faa681 Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Tue, 17 Dec 2024 14:09:10 +0100 Subject: [PATCH] Whishper: change to volumeMount --- whisper/mongo-deployment.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/whisper/mongo-deployment.yaml b/whisper/mongo-deployment.yaml index 3f5921f..8c7e6c5 100644 --- a/whisper/mongo-deployment.yaml +++ b/whisper/mongo-deployment.yaml @@ -67,16 +67,11 @@ spec: ports: - containerPort: 27017 protocol: TCP - volumeDevices: - - devicePath: /data/db + volumeMounts: + - mountPath: /data/db name: mongo-claim0 - - devicePath: /var/log/mongodb + - mountPath: /var/log/mongodb name: mongo-claim1 - # volumeMounts: - # - mountPath: /data/db - # name: mongo-claim0 - # - mountPath: /var/log/mongodb - # name: mongo-claim1 restartPolicy: Always volumes: - name: mongo-claim0