maybe a bit more universal way of setting root directory
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user