From b4e80e6ee5e6dba6910320beb9b39326a59dd7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20St=C3=A4bler?= Date: Tue, 10 Mar 2026 10:59:25 +0100 Subject: [PATCH] Add makefile target to create KinD cluster --- .github/workflows/test-e2e.yml | 2 +- Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 7f4716c..6c434ed 100644 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -30,7 +30,7 @@ jobs: uses: azure/setup-helm@v4.3.0 - name: Setup KinD cluster - run: ./hack/create-kind-cluster.sh + run: make create-kind-cluster - name: Install func-operator run: make docker-build docker-push deploy diff --git a/Makefile b/Makefile index a5ecc0f..845d973 100644 --- a/Makefile +++ b/Makefile @@ -227,6 +227,10 @@ deploy-debugger: manifests kustomize ## Deploy debug controller to the K8s clust undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion. $(KUSTOMIZE) build config/default | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f - +.PHONY: create-kind-cluster +create-kind-cluster: + ./hack/create-kind-cluster.sh + ##@ Dependencies ## Location to install dependencies to