mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add sleep command to restore
This commit is contained in:
@@ -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