Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Commit

Permalink
feat: #161 Use /bin/sh
Browse files Browse the repository at this point in the history
  • Loading branch information
blackandred committed Jan 25, 2022
1 parent 862f05b commit 1465455
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bahub/transports/kubernetes_sidepod.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ def _create_backup_pod_definition(self, original_pod_name: str, backup_pod_name:
{
'image': self._image,
'name': backup_pod_name,
'args': ['sleep', str(timeout)],
'command': ["/bin/sh"],
'args': ['-c', f'sleep {str(timeout)}'],
'restartPolicy': 'never',
'volumeMounts': volume_mounts
}
Expand Down

0 comments on commit 1465455

Please sign in to comment.