Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update cert manager to v1.14.4 #592

Merged
merged 1 commit into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ CAPDO_WORKER_CLUSTER_KUBECONFIG ?= "/tmp/kubeconfig"
# Build time versioning details.
LDFLAGS := $(shell hack/version.sh)

# Other tools versions
CERT_MANAGER_VER := v1.14.4

## --------------------------------------
##@ Help
## --------------------------------------
Expand Down Expand Up @@ -431,7 +434,7 @@ create-management-cluster: $(KUSTOMIZE) $(ENVSUBST)
$(MAKE) kind-create

# Install cert manager and wait for availability
./hack/install-cert-manager.sh
./hack/install-cert-manager.sh $(CERT_MANAGER_VER)

# Deploy CAPI
curl --retry $(CURL_RETRIES) -sSL https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.5.2/cluster-api-components.yaml | $(ENVSUBST) | kubectl apply -f -
Expand Down
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ settings = {
"preload_images_for_kind": True,
"kind_cluster_name": "capdo",
"capi_version": "v1.6.4",
"cert_manager_version": "v1.10.1",
"cert_manager_version": "v1.14.4",
"kubernetes_version": "v1.29.4",
}

Expand Down
4 changes: 3 additions & 1 deletion hack/install-cert-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ set -o errexit
set -o nounset
set -o pipefail

CERT_MANAGER_VERSION=${1}

TEST_RESOURCE=$(cat <<-END
apiVersion: v1
kind: Namespace
Expand Down Expand Up @@ -52,7 +54,7 @@ KUBECTL="${REPO_ROOT}/hack/tools/bin/kubectl"
cd "${REPO_ROOT}" && make "${KUBECTL##*/}"

## Install cert manager and wait for availability
"${KUBECTL}" apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.10.1/cert-manager.yaml
"${KUBECTL}" apply -f https://github.com/cert-manager/cert-manager/releases/download/${CERT_MANAGER_VERSION}/cert-manager.yaml
"${KUBECTL}" wait --for=condition=Available --timeout=5m -n cert-manager deployment/cert-manager
"${KUBECTL}" wait --for=condition=Available --timeout=5m -n cert-manager deployment/cert-manager-cainjector
"${KUBECTL}" wait --for=condition=Available --timeout=5m -n cert-manager deployment/cert-manager-webhook
Expand Down