Whishper: change to volumeDevice

This commit is contained in:
Ruben Hensen
2024-12-17 14:07:43 +01:00
parent 9d48f1ce7b
commit 569487707c
+8 -3
View File
@@ -24,7 +24,7 @@ spec:
spec: spec:
securityContext: securityContext:
runAsGroup: 1000 runAsGroup: 1000
runAsNonRoot: false runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
supplementalGroups: supplementalGroups:
- 6 - 6
@@ -67,11 +67,16 @@ spec:
ports: ports:
- containerPort: 27017 - containerPort: 27017
protocol: TCP protocol: TCP
volumeMounts: volumeDevices:
- mountPath: /data/db - devicePath: /data/db
name: mongo-claim0 name: mongo-claim0
- mountPath: /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