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

✨ upgrade cert-manager to v1.4.0 #4990

Merged
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
2 changes: 1 addition & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,6 @@ load_provider_tiltfiles()
load("ext://cert_manager", "deploy_cert_manager")

if settings.get("deploy_cert_manager"):
deploy_cert_manager(version = "v1.1.0")
deploy_cert_manager(version = "v1.4.0")

enable_providers()
2 changes: 1 addition & 1 deletion cmd/clusterctl/client/config/cert_manager_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const (
CertManagerConfigKey = "cert-manager"

// CertManagerDefaultVersion defines the default cert-manager version to be used by clusterctl.
CertManagerDefaultVersion = "v1.1.0"
CertManagerDefaultVersion = "v1.4.0"

// CertManagerDefaultURL defines the default cert-manager repository url to be used by clusterctl.
// NOTE: At runtime /latest will be replaced with the CertManagerDefaultVersion or with the
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/clusterctl/commands/init.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ If this happens, there are no guarantees about the proper functioning of `cluste
Cluster API providers require a cert-manager version supporting the `cert-manager.io/v1` API to be installed in the cluster.

While doing init, clusterctl checks if there is a version of cert-manager already installed. If not, clusterctl will
install a default version (currently cert-manager v1.1.0). See [clusterctl configuration](../configuration.md) for
install a default version (currently cert-manager v1.4.0). See [clusterctl configuration](../configuration.md) for
available options to customize this operation.

<aside class="note warning">
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/clusterctl/commands/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Produces an output similar to this:

```shell
Checking cert-manager version...
Cert-Manager will be upgraded from "v0.11.0" to "v1.1.0"
Cert-Manager will be upgraded from "v0.11.0" to "v1.4.0"

Checking new release availability...

Expand Down
4 changes: 2 additions & 2 deletions docs/book/src/clusterctl/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ images:
all:
repository: myorg.io/local-repo
cert-manager:
tag: v1.1.0
tag: v1.4.0
```

In this example we are overriding the image repository for all the components and the image tag for
Expand All @@ -206,7 +206,7 @@ images:
all:
repository: myorg.io/local-repo
cert-manager/cert-manager-cainjector:
tag: v1.1.0
tag: v1.4.0
```

## Debugging/Logging
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/developer/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The generated binary can be found at ./hack/tools/bin/envsubst
You'll need to deploy [cert-manager] components on your [management cluster][mcluster], using `kubectl`

```bash
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.1.0/cert-manager.yaml
kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.4.0/cert-manager.yaml
```

Ensure the cert-manager webhook service is ready before creating the Cluster API components.
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/user/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ The output of `clusterctl init` is similar to this:

```shell
Fetching providers
Installing cert-manager Version="v1.1.0"
Installing cert-manager Version="v1.4.0"
Waiting for cert-manager to be available...
Installing Provider="cluster-api" Version="v0.4.0" TargetNamespace="capi-system"
Installing Provider="bootstrap-kubeadm" Version="v0.4.0" TargetNamespace="capi-kubeadm-bootstrap-system"
Expand Down
6 changes: 3 additions & 3 deletions scripts/ci-e2e-lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ EOL
# the actual test run less sensible to the network speed.
kind:prepullAdditionalImages () {
# Pulling cert manager images so we can pre-load in kind nodes
kind::prepullImage "quay.io/jetstack/cert-manager-cainjector:v1.1.0"
kind::prepullImage "quay.io/jetstack/cert-manager-webhook:v1.1.0"
kind::prepullImage "quay.io/jetstack/cert-manager-controller:v1.1.0"
kind::prepullImage "quay.io/jetstack/cert-manager-cainjector:v1.4.0"
kind::prepullImage "quay.io/jetstack/cert-manager-webhook:v1.4.0"
kind::prepullImage "quay.io/jetstack/cert-manager-controller:v1.4.0"
}

# kind:prepullImage pre-pull a docker image if no already present locally.
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/config/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ images:
loadBehavior: tryLoad
- name: gcr.io/k8s-staging-cluster-api/capd-manager-amd64:dev
loadBehavior: tryLoad
- name: quay.io/jetstack/cert-manager-cainjector:v1.1.0
- name: quay.io/jetstack/cert-manager-cainjector:v1.4.0
loadBehavior: tryLoad
- name: quay.io/jetstack/cert-manager-webhook:v1.1.0
- name: quay.io/jetstack/cert-manager-webhook:v1.4.0
loadBehavior: tryLoad
- name: quay.io/jetstack/cert-manager-controller:v1.1.0
- name: quay.io/jetstack/cert-manager-controller:v1.4.0
loadBehavior: tryLoad

providers:
Expand Down