Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 4b37b63

Browse files
committed
Make deploy target run clusterctl
1 parent 9425b32 commit 4b37b63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ install: manifests
6868
kubectl apply -f config/crds
6969

7070
# Deploy controller in the configured Kubernetes cluster in ~/.kube/config
71-
deploy: manifests
71+
deploy: manifests $(CLUSTERCTL)
7272
generate-yaml.sh
73-
cat out/packet/provider-components.yaml | kubectl apply -f -
73+
$(CLUSTERCTL) create cluster --provider packet --bootstrap-type kind -c out/packet/cluster.yaml -m out/packet/machines.yaml -a out/packet/addons.yaml -p out/packet/provider-components.yaml --v=10
7474

7575
# Generate manifests e.g. CRD, RBAC etc.
7676
manifests: $(PROVIDERYAML)

0 commit comments

Comments
 (0)