diff --git a/Makefile b/Makefile index f90c8953e..aa1a3d4fd 100644 --- a/Makefile +++ b/Makefile @@ -423,7 +423,7 @@ deploy-dependencies: kustomize dependencies-manifests ## Deploy dependencies to kubectl -n "$(KUADRANT_NAMESPACE)" wait --timeout=300s --for=condition=Available deployments --all .PHONY: install-metallb -install-metallb: SUBNET_OFFSET=0 +install-metallb: SUBNET_OFFSET=1 install-metallb: kustomize yq ## Installs the metallb load balancer allowing use of an LoadBalancer type with a gateway $(KUSTOMIZE) build config/metallb | kubectl apply -f - kubectl -n metallb-system wait --for=condition=Available deployments controller --timeout=300s diff --git a/hack/quickstart-setup.sh b/hack/quickstart-setup.sh index d60f0e3de..8c34ff288 100755 --- a/hack/quickstart-setup.sh +++ b/hack/quickstart-setup.sh @@ -70,7 +70,7 @@ export CONTAINER_RUNTIME_BIN=$(containerRuntime) export KIND_BIN=kind export HELM_BIN=helm export KUSTOMIZE_BIN=$(dockerBinCmd "kustomize") -export SUBNET_OFFSET=0 +export SUBNET_OFFSET=1 export HUB=1 YQ_BIN=$(dockerBinCmd "yq") @@ -402,7 +402,7 @@ if cluster_exists "${KUADRANT_CLUSTER_NAME}"; then next_cluster_number=$((last_number + 1)) fi KUADRANT_CLUSTER_NAME="${KUADRANT_CLUSTER_NAME}-${next_cluster_number}" - SUBNET_OFFSET=${next_cluster_number} + SUBNET_OFFSET=$((SUBNET_OFFSET + 1)) HUB=0 echo "Next cluster number will be ${KUADRANT_CLUSTER_NAME}." read -r -p "Is it okay to create the cluster '${KUADRANT_CLUSTER_NAME}'? (y/N): " confirm