Skip to content

Commit 0e00ae6

Browse files
committed
contrib,kind: Init container runtime binary on cluster deletion
On cluster delete operations the container runtime binary (represented by OCI_BIN) is hardcoded. Set OCI_BIN according to env. Signed-off-by: Or Mergi <[email protected]>
1 parent f25f775 commit 0e00ae6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/kind.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ function setup_kubectl_bin() {
4242
# The root cause is unknown, this also can not be reproduced in Ubuntu 20.04 or
4343
# with Fedora32 Cloud, but it does not happen if we clean first the ovn-kubernetes resources.
4444
delete() {
45+
OCI_BIN=${KIND_EXPERIMENTAL_PROVIDER:-docker}
46+
4547
if [ "$KIND_INSTALL_METALLB" == true ]; then
4648
destroy_metallb
4749
fi

0 commit comments

Comments
 (0)