Skip to content

Commit dcd39ef

Browse files
authored
Add makefile target to create KinD cluster (#20)
1 parent 6de2219 commit dcd39ef

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/test-e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: azure/setup-helm@v4.3.0
3131

3232
- name: Setup KinD cluster
33-
run: ./hack/create-kind-cluster.sh
33+
run: make create-kind-cluster
3434

3535
- name: Install func-operator
3636
run: make docker-build docker-push deploy

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,10 @@ deploy-debugger: manifests kustomize ## Deploy debug controller to the K8s clust
227227
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.
228228
$(KUSTOMIZE) build config/default | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f -
229229

230+
.PHONY: create-kind-cluster
231+
create-kind-cluster:
232+
./hack/create-kind-cluster.sh
233+
230234
##@ Dependencies
231235

232236
## Location to install dependencies to

0 commit comments

Comments
 (0)