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