add scripts and config for a local kind cluster

This commit is contained in:
Joel Wetzell
2026-03-13 20:51:26 -05:00
parent f590e102c7
commit 10a66188e3
6 changed files with 60 additions and 0 deletions

12
kind/create.sh Executable file
View File

@@ -0,0 +1,12 @@
SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)
ROOT=$(realpath "$SCRIPT_DIR/..")
set -e
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"
export IMG=ontime-operator:dev
make -C "$ROOT" docker-build
kind load docker-image --name ontime-operator "${IMG}"
make -C "$ROOT" deploy
kubectl apply -k "$ROOT/config/samples"
sudo cloud-provider-kind