File tree Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Expand file tree Collapse file tree 3 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ GOTESTSUM_VER := v1.6.4
110
110
GOTESTSUM_BIN := gotestsum
111
111
GOTESTSUM := $(TOOLS_BIN_DIR ) /$(GOTESTSUM_BIN )
112
112
113
+ # Other tools versions
114
+ CERT_MANAGER_VER := v1.14.4
115
+
113
116
# Define Docker related variables. Releases should modify and double check these vars.
114
117
export GCP_PROJECT ?= $(shell gcloud config get-value project)
115
118
REGISTRY ?= gcr.io/$(GCP_PROJECT )
@@ -461,7 +464,7 @@ create-management-cluster: $(KUSTOMIZE) $(ENVSUBST) $(KIND) $(KUBECTL)
461
464
$(KIND ) create cluster --name=clusterapi
462
465
463
466
# Install cert manager and wait for availability
464
- ./hack/install-cert-manager.sh
467
+ ./hack/install-cert-manager.sh $(CERT_MANAGER_VER)
465
468
466
469
# Deploy CAPI
467
470
curl --retry $(CURL_RETRIES) -sSL https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.6.2/cluster-api-components.yaml | $(ENVSUBST) | $(KUBECTL) apply -f -
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ settings = {
19
19
"preload_images_for_kind" : True ,
20
20
"kind_cluster_name" : "capg" ,
21
21
"capi_version" : "v1.7.0" ,
22
- "cert_manager_version" : "v1.11.0 " ,
22
+ "cert_manager_version" : "v1.14.4 " ,
23
23
"kubernetes_version" : "v1.29.3" ,
24
24
}
25
25
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ set -o errexit
18
18
set -o nounset
19
19
set -o pipefail
20
20
21
+ CERT_MANAGER_VERSION=${1}
22
+
21
23
TEST_RESOURCE=$( cat << -END
22
24
apiVersion: v1
23
25
kind: Namespace
@@ -52,7 +54,7 @@ KUBECTL="${REPO_ROOT}/hack/tools/bin/kubectl"
52
54
cd " ${REPO_ROOT} " && make " ${KUBECTL##*/ } "
53
55
54
56
# # Install cert manager and wait for availability
55
- " ${KUBECTL} " apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0 /cert-manager.yaml
57
+ " ${KUBECTL} " apply -f " https://github.com/cert-manager/cert-manager/releases/download/${CERT_MANAGER_VERSION} /cert-manager.yaml"
56
58
" ${KUBECTL} " wait --for=condition=Available --timeout=5m -n cert-manager deployment/cert-manager
57
59
" ${KUBECTL} " wait --for=condition=Available --timeout=5m -n cert-manager deployment/cert-manager-cainjector
58
60
" ${KUBECTL} " wait --for=condition=Available --timeout=5m -n cert-manager deployment/cert-manager-webhook
You can’t perform that action at this time.
0 commit comments