From d5f6a4de1b3d8aea946de7474dc94e77483de2c3 Mon Sep 17 00:00:00 2001 From: Or Shoval Date: Tue, 18 Jun 2024 11:24:29 +0300 Subject: [PATCH] cluster: Allow custom kind args It allows custom args, for example skipping kubevirt installation (which comes with ipam manager by OVN-k8s kind.sh) The user would be able to install custom kubevirt and ipam manager this way. Signed-off-by: Or Shoval --- hack/cluster.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/cluster.sh b/hack/cluster.sh index 07834716..43832ec0 100755 --- a/hack/cluster.sh +++ b/hack/cluster.sh @@ -3,6 +3,7 @@ set -xe SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" +KIND_ARGS="${KIND_ARGS:--ic -ikv -i6 -mne}" OUTPUT_DIR=${OUTPUT_DIR:-${SCRIPT_DIR}/../.output} @@ -51,7 +52,7 @@ function up() { kind delete cluster --name $cluster_name ( cd ${OVN_KUBERNETES_DIR} - ./contrib/kind.sh --local-kind-registry -ic -ikv -i6 -mne -cn ${cluster_name} + ./contrib/kind.sh --local-kind-registry ${KIND_ARGS} -cn ${cluster_name} ) }