#!/bin/sh set -o errexit export PATH=${PATH}:./bin # define the OCI binary to be used. Acceptable values are `docker`, `podman`. # Defaults to `docker`. OCI_BIN="${OCI_BIN:-docker}" # define the deployment spec to use when deploying multus. # Acceptable values are `multus-daemonset.yml`. `multus-daemonset-thick.yml`. # Defaults to `multus-daemonset-thick.yml`. MULTUS_MANIFEST="${MULTUS_MANIFEST:-multus-daemonset-thick.yml}" # define the dockerfile to build multus. # Acceptable values are `Dockerfile`. `Dockerfile.thick`. # Defaults to `Dockerfile.thick`. MULTUS_DOCKERFILE="${MULTUS_DOCKERFILE:-Dockerfile.thick}" kind_network='kind' if [ "${MULTUS_DOCKERFILE}" != "none" ]; then $OCI_BIN build -t localhost:5000/multus:e2e -f ../images/${MULTUS_DOCKERFILE} .. fi # deploy cluster with kind cat <