Skip to content

Commit 966a880

Browse files
author
Rahul Sharma
committed
address review comments
1 parent 5fa19c5 commit 966a880

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ CONTROLPLANE_NODES ?= 1
2222
WORKER_NODES ?= 1
2323
LINODE_FIREWALL_ENABLED ?= true
2424
LINODE_REGION ?= us-lax
25+
LINODE_OS ?= linode/debian12-kube-v1.31.0
2526
KUBECONFIG_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
145146
generate-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
181181
cleanup-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

Comments
 (0)