Proper quoting, error checks, use $KUBE_* variables when applicable, trap to do cleanup on all errors, call cleanup explicitly on successful exit. Tested: - Ran it manually to completion, test run successful. - Interrupted it during the run, checked that $? was non-zero, etcd was killed. Signed-off-by: Filipe Brandenburger <filbranden@google.com>
1.3 KiB
Executable File
1.3 KiB
Executable File