diff --git a/backups/overlays/test/xrootd/backup-cronjob.yaml b/backups/overlays/test/xrootd/backup-cronjob.yaml index 477cf23..e53d751 100644 --- a/backups/overlays/test/xrootd/backup-cronjob.yaml +++ b/backups/overlays/test/xrootd/backup-cronjob.yaml @@ -38,3 +38,6 @@ spec: secretKeyRef: name: xrootd-secret key: "source-secret-access-key" + livenessProbe: + exec: + command: ["bash", "-c", "if test -f /backup_ipc/stop; then umount /backup_storage; exit 1; fi;"]