Make patching script faster
by using a command that listens to events. Removing the pod is a lot
faster this way. We used the same command in the minio helper pod in
tests.
@@ -73,7 +73,7 @@ spec:
containers:
- name: copier
image: busybox:stable
- command: ["/bin/sh", "-ec", "while :; do printf '.'; sleep 5 ; done"]
+ command: ["/bin/sh", "-ec", "trap : TERM INT; sleep infinity & wait"]
volumeMounts:
- mountPath: "/epinio"
name: epinio-binary
