mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-11-15 14:29:09 +01:00
Add sleep command to restore
This commit is contained in:
1 parent
68060a16d8
commit
57a1a69665
1 file changed
+2
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user