Add sleep command to restore

This commit is contained in:
Ruben Hensen committed 2024-12-15 17:48:07 +01:00
1 parent 68060a16d8
commit 57a1a69665
1 file changed
+2
+2
View File
@@ -22,6 +22,8 @@ spec:
volumeMounts:
- name: restorevol
mountPath: /mnt/restorevol/
command: [ "/bin/bash", "-c", "--" ] # Let container sleep, so it does not close because of 'completion'
args: [ "while true; do sleep 30; done;" ]
volumes:
- name: restorevol
persistentVolumeClaim: