@@ -22,6 +22,7 @@ CONTROLPLANE_NODES ?= 1
2222WORKER_NODES ?= 1
2323LINODE_FIREWALL_ENABLED ?= true
2424LINODE_REGION ?= us-lax
25+ LINODE_OS ?= linode/debian12-kube-v1.31.0
2526KUBECONFIG_PATH ?= $(CURDIR ) /test-cluster-kubeconfig.yaml
2627
2728# if the $DEVBOX_PACKAGES_DIR env variable exists that means we are within a devbox shell and can safely
@@ -144,9 +145,8 @@ capl-cluster: generate-capl-cluster-manifests create-capl-cluster patch-linode-c
144145.PHONY : generate-capl-cluster-manifests
145146generate-capl-cluster-manifests :
146147 # Create the CAPL cluster manifests without any CSI driver stuff
147- LINODE_FIREWALL_ENABLED=$(LINODE_FIREWALL_ENABLED ) clusterctl generate cluster $(CLUSTER_NAME ) \
148- --kubernetes-version $(K8S_VERSION ) \
149- --infrastructure linode-linode:$(CAPL_VERSION ) \
148+ LINODE_FIREWALL_ENABLED=$(LINODE_FIREWALL_ENABLED ) LINODE_OS=$(LINODE_OS ) clusterctl generate cluster $(CLUSTER_NAME ) \
149+ --kubernetes-version $(K8S_VERSION ) --infrastructure linode-linode:$(CAPL_VERSION ) \
150150 --control-plane-machine-count $(CONTROLPLANE_NODES ) --worker-machine-count $(WORKER_NODES ) > capl-cluster-manifests.yaml
151151
152152.PHONY : create-capl-cluster
@@ -179,9 +179,9 @@ mgmt-cluster:
179179
180180.PHONY : cleanup-cluster
181181cleanup-cluster :
182- kubectl delete cluster --all
183- kubectl delete linodefirewalls --all
184- kubectl delete lvpc --all
182+ kubectl delete cluster --all --timeout=180s
183+ kubectl delete linodefirewalls --all --timeout=60s
184+ kubectl delete lvpc --all --timeout=60s
185185 kind delete cluster -n caplccm
186186
187187.PHONY : e2e-test
0 commit comments