Whishper: change to volumeMount

This commit is contained in:
Ruben Hensen
2024-12-17 14:09:10 +01:00
parent 3b12068598
commit be89660a18
+3 -8
View File
@@ -67,16 +67,11 @@ spec:
ports: ports:
- containerPort: 27017 - containerPort: 27017
protocol: TCP protocol: TCP
volumeDevices: volumeMounts:
- devicePath: /data/db - mountPath: /data/db
name: mongo-claim0 name: mongo-claim0
- devicePath: /var/log/mongodb - mountPath: /var/log/mongodb
name: mongo-claim1 name: mongo-claim1
# volumeMounts:
# - mountPath: /data/db
# name: mongo-claim0
# - mountPath: /var/log/mongodb
# name: mongo-claim1
restartPolicy: Always restartPolicy: Always
volumes: volumes:
- name: mongo-claim0 - name: mongo-claim0