NEW: Get project updates onTwitterandMastodon

Upgrading from v0.10 to v0.11

The v0.11 release marks the removal of the v1alpha1 API that was used in previous versions of cert-manager, as well as our API group changing to be instead of

We have also removed support for the old configuration format that was deprecated in the v0.8 release. This means you must transition to using the new solvers style configuration format for your ACME issuers before upgrading to v0.11. For more information, see the upgrading to v0.8 guide.

This makes for a fairly significant breaking change for users, as all cert-manager resources, or even Ingresses that reference cert-manager resources, will need to be updated to reflect these changes.

This upgrade should be performed in a few steps:

  1. Back up existing cert-manager resources, as per the backup and restore guide.

  2. Uninstall cert-manager.

  3. Ensure the old cert-manager CRD resources have also been deleted: kubectl get crd | grep

  4. Update the apiVersion on all your backed up resources from to

  5. Re-install cert-manager from scratch according to the installation guide.

You must be sure to properly backup, uninstall, re-install and restore your installation in order to ensure the upgrade is successful.

Additional annotation changes

As well as changing the API group used by our CRDs, we have also changed the annotation-based configuration key to also reflect the new API group.

This means that if you use any cert-manager annotations on any of your other resources (such as Ingresses, {Validating,Mutating}WebhookConfiguration, etc) you will need to update them to reflect the new API group.

A full table of annotations, including the old and new equivalents:

Old AnnotationNew Annotation

You can use the following bash magic to print a list of Ingress resources that still contain an old annotation:

$ kubectl get ingress \
--all-namespaces \
-o json | \
jq '.items[] | select(.metadata.annotations| to_entries | map(.key)[] | test("certmanager")) | "Ingress resource \(.metadata.namespace)/\( contains old annotations: (\( .metadata.annotations | to_entries | map(.key)[] | select( . | test("certmanager") ) ))"'
Ingress resource "demo/testcrt contains old annotations: ("
Ingress resource "example/ingress-resource contains old annotations: ("

In order to help with this migration, the following CLI tool will automatically migrate these annotations for you. Note that it will not make any changes to your cluster for you.

Firstly, download the binary for your given platform

$ wget -O api-migration

Or for Darwin

$ wget -O api-migration

Mark the binary as executable and run the binary against your cluster

$ chmod +x api-migration && ./api-migration --kubeconfig /path/to/my/kubeconfig.yaml

Follow the CLI output and check for the difference that has been made in files

$ diff ingress.yaml ingress-migrated.yaml

Finally, once the new ingress resources have been reviewed, apply the manifests

$ kubectl apply -f ingress-migrated.yaml --kubeconfig /path/to/my/kubeconfig.yaml

You should make sure to update all Ingress resources to ensure that your certificates continue to be kept up to date.

Issuer/ClusterIssuer solvers

Support for the deprecated spec.http01 or spec.dns01 fields in Issuer and ClusterIssuer have been removed. Any Issuer or ClusterIssuer objects must be converted to use the equivalent spec.solvers[].http01 or spec.solvers[].dns01 syntax. You can read more about the Issuer resource in the configuration documentation.

Any issuers that haven't been converted will result the cert-manager pod being unable to find any solvers at the expected location. This will result in errors like the following: no configured challenge solvers can be used for this challenge