Skip to content

Commit

Permalink
cluster: Allow custom kind args
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
oshoval committed Jun 18, 2024
1 parent e2a81fc commit d5f6a4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down Expand Up @@ -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}
)
}

Expand Down

0 comments on commit d5f6a4d

Please sign in to comment.