From 86451cf5da7fcb35e15c0f3f38ab5ea24fdf56ef Mon Sep 17 00:00:00 2001 From: jwetzell Date: Tue, 17 Mar 2026 15:35:21 +0000 Subject: [PATCH] maybe a bit more universal way of setting root directory --- kind/create.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kind/create.sh b/kind/create.sh index 6849c5b..a4c804e 100755 --- a/kind/create.sh +++ b/kind/create.sh @@ -1,6 +1,7 @@ -SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd) -ROOT=$(realpath "$SCRIPT_DIR/..") set -e +cd "$(dirname -- "$0")" || exit +SCRIPT_DIR="$(pwd -P)" +ROOT="$(realpath "$SCRIPT_DIR/..")" kind create cluster --config "$SCRIPT_DIR/config.yaml" kubectl apply --server-side -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.4.0/standard-install.yaml kubectl apply -f "$SCRIPT_DIR/manifests"