cert-manager/cert-manager (cert-manager)
### [`v1.13.0`](https://togithub.com/cert-manager/cert-manager/releases/tag/v1.13.0)
[Compare Source](https://togithub.com/cert-manager/cert-manager/compare/v1.12.4...v1.13.0)
cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters.
This is the 1.13 release of cert-manager!
cert-manager 1.13 brings support for DNS over HTTPS, support for loading options from a versioned
config file for the cert-manager controller, and more. This release also includes the promotion of
the StableCertificateRequestName and SecretsFilteredCaching feature gates to Beta.
#### Breaking Changes (You MUST read this before you upgrade!)
1. **BREAKING** : If you deploy cert-manager using helm and have `.featureGates` value set, the features defined there will no longer be passed to cert-manager webhook, only to cert-manager controller. Use `webhook.featureGates` field instead to define features to be enabled on webhook. ([#6093](https://togithub.com/cert-manager/cert-manager/issues/6093), [@irbekrm](https://togithub.com/irbekrm))
2. **Potentially breaking**: If you were, for some reason, passing cert-manager controller's features to webhook's `--feature-gates` flag, this will now break (unless the webhook actually has a feature by that name). ([#6093](https://togithub.com/cert-manager/cert-manager/issues/6093), [@irbekrm](https://togithub.com/irbekrm))
3. **Potentially breaking**: Webhook validation of CertificateRequest resources is stricter now: all KeyUsages and ExtendedKeyUsages must be defined directly in the CertificateRequest resource, the encoded CSR can never contain more usages that defined there. ([#6182](https://togithub.com/cert-manager/cert-manager/issues/6182), [@inteon](https://togithub.com/inteon))
#### Community
Welcome to these new cert-manager members (more info - [https://github.com/cert-manager/cert-manager/pull/6260](https://togithub.com/cert-manager/cert-manager/pull/6260)):
[@jsoref](https://togithub.com/jsoref)
[@FlorianLiebhart](https://togithub.com/FlorianLiebhart)
[@hawksight](https://togithub.com/hawksight)
[@erikgb](https://togithub.com/erikgb)
Thanks again to all open-source contributors with commits in this release, including:
[@AcidLeroy](https://togithub.com/AcidLeroy)
[@FlorianLiebhart](https://togithub.com/FlorianLiebhart)
[@lucacome](https://togithub.com/lucacome)
[@cypres](https://togithub.com/cypres)
[@erikgb](https://togithub.com/erikgb)
[@ubergesundheit](https://togithub.com/ubergesundheit)
[@jkroepke](https://togithub.com/jkroepke)
[@jsoref](https://togithub.com/jsoref)
[@gdvalle](https://togithub.com/gdvalle)
[@rouke-broersma](https://togithub.com/rouke-broersma)
[@schrodit](https://togithub.com/schrodit)
[@zhangzhiqiangcs](https://togithub.com/zhangzhiqiangcs)
[@arukiidou](https://togithub.com/arukiidou)
[@hawksight](https://togithub.com/hawksight)
[@Richardds](https://togithub.com/Richardds)
[@kahirokunn](https://togithub.com/kahirokunn)
Thanks also to the following cert-manager maintainers for their contributions during this release:
[@SgtCoDFish](https://togithub.com/SgtCoDFish)
[@maelvls](https://togithub.com/maelvls)
[@irbekrm](https://togithub.com/irbekrm)
[@inteon](https://togithub.com/inteon)
Equally thanks to everyone who provided feedback, helped users and raised issues on Github and Slack and joined our meetings!
Special thanks to [@AcidLeroy](https://togithub.com/AcidLeroy) for adding "load options from a versioned config file" support for the cert-manager controller! This has been on our wishlist for a very long time. (see [https://github.com/cert-manager/cert-manager/pull/5337](https://togithub.com/cert-manager/cert-manager/pull/5337))
Also, thanks a lot to [@FlorianLiebhart](https://togithub.com/FlorianLiebhart) for adding support for DNS over HTTPS for the ACME DNS self-check. This is very useful in case all traffic must be HTTP(S) trafic, eg. when using a HTTPS_PROXY. (see [https://github.com/cert-manager/cert-manager/pull/5003](https://togithub.com/cert-manager/cert-manager/pull/5003))
Thanks also to the [CNCF](https://www.cncf.io/), which provides resources and support, and to the AWS open source team for being good community members and for their maintenance of the [PrivateCA Issuer](https://togithub.com/cert-manager/aws-privateca-issuer).
In addition, massive thanks to [Venafi](https://www.venafi.com/) for contributing developer time and resources towards the continued maintenance of cert-manager projects.
#### Changes since v1.12.0
##### Feature
- Add support for logging options to webhook config file. ([#6243](https://togithub.com/cert-manager/cert-manager/issues/6243), [@inteon](https://togithub.com/inteon))
- Add view permissions to the well-known (Openshift) user-facing `cluster-reader` aggregated cluster role ([#6241](https://togithub.com/cert-manager/cert-manager/issues/6241), [@erikgb](https://togithub.com/erikgb))
- Certificate Shim: distinguish dns names and ip address in certificate ([#6267](https://togithub.com/cert-manager/cert-manager/issues/6267), [@zhangzhiqiangcs](https://togithub.com/zhangzhiqiangcs))
- Cmctl can now be imported by third parties. ([#6049](https://togithub.com/cert-manager/cert-manager/issues/6049), [@SgtCoDFish](https://togithub.com/SgtCoDFish))
- Make `enableServiceLinks` configurable for all Deployments and `startupapicheck` Job in Helm chart. ([#6292](https://togithub.com/cert-manager/cert-manager/issues/6292), [@ubergesundheit](https://togithub.com/ubergesundheit))
- Promoted the StableCertificateRequestName and SecretsFilteredCaching feature gates to Beta (enabled by default). ([#6298](https://togithub.com/cert-manager/cert-manager/issues/6298), [@inteon](https://togithub.com/inteon))
- The cert-manager controller options are now configurable using a configuration file. ([#5337](https://togithub.com/cert-manager/cert-manager/issues/5337), [@AcidLeroy](https://togithub.com/AcidLeroy))
- The pki CertificateTemplate functions now perform validation of the CSR blob, making sure we sign a Certificate that matches the IsCA and (Extended)KeyUsages that are defined in the CertificateRequest resource. ([#6199](https://togithub.com/cert-manager/cert-manager/issues/6199), [@inteon](https://togithub.com/inteon))
- \[helm] Add prometheus.servicemonitor.endpointAdditionalProperties to define additional properties on a ServiceMonitor endpoint, e.g. relabelings ([#6110](https://togithub.com/cert-manager/cert-manager/issues/6110), [@jkroepke](https://togithub.com/jkroepke))
##### Design
- DNS over HTTPS (DoH) is now possible for doing the self-checks during the ACME verification.
The DNS check method to be used is controlled through the command line flag: `--dns01-recursive-nameservers-only=true` in combination with `--dns01-recursive-nameservers=https://` (e.g. `https://8.8.8.8/dns-query`). It keeps using DNS lookup as a default method. ([#5003](https://togithub.com/cert-manager/cert-manager/issues/5003), [@FlorianLiebhart](https://togithub.com/FlorianLiebhart))
##### Bug or Regression
- Allow overriding default pdb .minAvailable with .maxUnavailable without setting .minAvailable to null ([#6087](https://togithub.com/cert-manager/cert-manager/issues/6087), [@rouke-broersma](https://togithub.com/rouke-broersma))
- BUGFIX: `cmctl check api --wait 0` exited without output and exit code 1; we now make sure we perform the API check at least once and return with the correct error code ([#6109](https://togithub.com/cert-manager/cert-manager/issues/6109), [@inteon](https://togithub.com/inteon))
- BUGFIX: the issuer and certificate-name annotations on a Secret were incorrectly updated when other fields are changed. ([#6147](https://togithub.com/cert-manager/cert-manager/issues/6147), [@inteon](https://togithub.com/inteon))
- BUGFIX\[cainjector]: 1-character bug was causing invalid log messages and a memory leak ([#6232](https://togithub.com/cert-manager/cert-manager/issues/6232), [@inteon](https://togithub.com/inteon))
- Fix CloudDNS issuers stuck in propagation check, when multiple instances are issuing for the same FQDN ([#6088](https://togithub.com/cert-manager/cert-manager/issues/6088), [@cypres](https://togithub.com/cypres))
- Fix indentation of Webhook NetworkPolicy matchLabels in helm chart. ([#6220](https://togithub.com/cert-manager/cert-manager/issues/6220), [@ubergesundheit](https://togithub.com/ubergesundheit))
- Fixed Cloudflare DNS01 challenge provider race condition when validating multiple domains ([#6191](https://togithub.com/cert-manager/cert-manager/issues/6191), [@Richardds](https://togithub.com/Richardds))
- Fixes a bug where webhook was pulling in controller's feature gates.
**⚠️ ⚠️ BREAKING ⚠️ ⚠️** : If you deploy cert-manager using helm and have `.featureGates` value set, the features defined there will no longer be passed to cert-manager webhook, only to cert-manager controller. Use `webhook.featureGates` field instead to define features to be enabled on webhook.
**⚠️Potentially breaking**: If you were, for some reason, passing cert-manager controller's features to webhook's `--feature-gates` flag, this will now break (unless the webhook actually has a feature by that name). ([#6093](https://togithub.com/cert-manager/cert-manager/issues/6093), [@irbekrm](https://togithub.com/irbekrm))
- Fixes an issue where cert-manager would incorrectly reject two IP addresses as being unequal when they should have compared equal. This would be most noticeable when using an IPv6 address which doesn't match how Go's `net.IP.String()` function would have printed that address. ([#6293](https://togithub.com/cert-manager/cert-manager/issues/6293), [@SgtCoDFish](https://togithub.com/SgtCoDFish))
- We disabled the `enableServiceLinks` option for our ACME http solver pods, because the option caused the pod to be in a crash loop in a cluster with lot of services. ([#6143](https://togithub.com/cert-manager/cert-manager/issues/6143), [@schrodit](https://togithub.com/schrodit))
- **⚠️Potentially breaking**: Webhook validation of CertificateRequest resources is stricter now: all KeyUsages and ExtendedKeyUsages must be defined directly in the CertificateRequest resource, the encoded CSR can never contain more usages that defined there. ([#6182](https://togithub.com/cert-manager/cert-manager/issues/6182), [@inteon](https://togithub.com/inteon))
##### Other (Cleanup or Flake)
- A subset of the klogs flags have been deprecated and will be removed in the future. ([#5879](https://togithub.com/cert-manager/cert-manager/issues/5879), [@maelvls](https://togithub.com/maelvls))
- All service links in helm chart deployments have been disabled. ([#6144](https://togithub.com/cert-manager/cert-manager/issues/6144), [@schrodit](https://togithub.com/schrodit))
- Cert-manager will now re-issue a certificate if the public key in the latest CertificateRequest resource linked to a Certificate resource does not match the public key of the key encoded in the Secret linked to that Certificate resource ([#6168](https://togithub.com/cert-manager/cert-manager/issues/6168), [@inteon](https://togithub.com/inteon))
- Chore: When hostNetwork is enabled, dnsPolicy is now set to ClusterFirstWithHostNet. ([#6156](https://togithub.com/cert-manager/cert-manager/issues/6156), [@kahirokunn](https://togithub.com/kahirokunn))
- Cleanup the controller configfile structure by introducing sub-structs. ([#6242](https://togithub.com/cert-manager/cert-manager/issues/6242), [@inteon](https://togithub.com/inteon))
- Don't run API Priority and Fairness controller in webhook's extension apiserver ([#6085](https://togithub.com/cert-manager/cert-manager/issues/6085), [@irbekrm](https://togithub.com/irbekrm))
- Helm: Add apache 2.0 license annotation ([#6225](https://togithub.com/cert-manager/cert-manager/issues/6225), [@arukiidou](https://togithub.com/arukiidou))
- Make apis/acme/v1/ACMEIssuer.PreferredChain optional in JSON serialization. ([#6034](https://togithub.com/cert-manager/cert-manager/issues/6034), [@gdvalle](https://togithub.com/gdvalle))
- The SecretPostIssuancePolicyChain now also makes sure that the `cert-manager.io/common-name`, `cert-manager.io/alt-names`, ... annotations on Secrets are kept at their correct value. ([#6176](https://togithub.com/cert-manager/cert-manager/issues/6176), [@inteon](https://togithub.com/inteon))
- The cmctl logging has been improved and support for json logging has been added. ([#6247](https://togithub.com/cert-manager/cert-manager/issues/6247), [@inteon](https://togithub.com/inteon))
- Updates Kubernetes libraries to `v0.27.2`. ([#6077](https://togithub.com/cert-manager/cert-manager/issues/6077), [@lucacome](https://togithub.com/lucacome))
- Updates Kubernetes libraries to `v0.27.4`. ([#6227](https://togithub.com/cert-manager/cert-manager/issues/6227), [@lucacome](https://togithub.com/lucacome))
- We now only check that the issuer name, kind and group annotations on a Secret match in case those annotations are set. ([#6152](https://togithub.com/cert-manager/cert-manager/issues/6152), [@inteon](https://togithub.com/inteon))
### [`v1.12.4`](https://togithub.com/cert-manager/cert-manager/releases/tag/v1.12.4)
[Compare Source](https://togithub.com/cert-manager/cert-manager/compare/v1.12.3...v1.12.4)
v1.12.4 contains an important security fix that addresses [CVE-2023-29409](https://cve.report/CVE-2023-29409).
##### Changes since v1.12.3
- Fixes an issue where cert-manager would incorrectly reject two IP addresses as being unequal when they should hav
e compared equal. This would be most noticeable when using an IPv6 address which doesn't match how Go's `net.IP.Str
ing()` function would have printed that address. ([#6297](https://togithub.com/cert-manager/cert-manager/issues/6297), [@SgtCoDFish](https://togithub.com/SgtCoDFish))
- Use Go 1.20.7 to fix a security issue in Go's `crypto/tls` library. ([#6318](https://togithub.com/cert-manager/cert-manager/issues/6318), [@maelvls](https://togithub.com/maelvls))
### [`v1.12.3`](https://togithub.com/cert-manager/cert-manager/releases/tag/v1.12.3)
[Compare Source](https://togithub.com/cert-manager/cert-manager/compare/v1.12.2...v1.12.3)
cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters.
v1.12.3 contains a bug fix for the cainjector which addresses a memory leak!
#### Changes by Kind
##### Bugfixes
- BUGFIX\[cainjector]: 1-character bug was causing invalid log messages and a memory leak ([#6235](https://togithub.com/cert-manager/cert-manager/issues/6235), [@jetstack-bot](https://togithub.com/jetstack-bot))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v1.12.2
->v1.13.0
Release Notes
cert-manager/cert-manager (cert-manager)
### [`v1.13.0`](https://togithub.com/cert-manager/cert-manager/releases/tag/v1.13.0) [Compare Source](https://togithub.com/cert-manager/cert-manager/compare/v1.12.4...v1.13.0) cert-manager is the easiest way to automatically manage certificates in Kubernetes and OpenShift clusters. This is the 1.13 release of cert-manager! cert-manager 1.13 brings support for DNS over HTTPS, support for loading options from a versioned config file for the cert-manager controller, and more. This release also includes the promotion of the StableCertificateRequestName and SecretsFilteredCaching feature gates to Beta. #### Breaking Changes (You MUST read this before you upgrade!) 1. **BREAKING** : If you deploy cert-manager using helm and have `.featureGates` value set, the features defined there will no longer be passed to cert-manager webhook, only to cert-manager controller. Use `webhook.featureGates` field instead to define features to be enabled on webhook. ([#6093](https://togithub.com/cert-manager/cert-manager/issues/6093), [@irbekrm](https://togithub.com/irbekrm)) 2. **Potentially breaking**: If you were, for some reason, passing cert-manager controller's features to webhook's `--feature-gates` flag, this will now break (unless the webhook actually has a feature by that name). ([#6093](https://togithub.com/cert-manager/cert-manager/issues/6093), [@irbekrm](https://togithub.com/irbekrm)) 3. **Potentially breaking**: Webhook validation of CertificateRequest resources is stricter now: all KeyUsages and ExtendedKeyUsages must be defined directly in the CertificateRequest resource, the encoded CSR can never contain more usages that defined there. ([#6182](https://togithub.com/cert-manager/cert-manager/issues/6182), [@inteon](https://togithub.com/inteon)) #### Community Welcome to these new cert-manager members (more info - [https://github.com/cert-manager/cert-manager/pull/6260](https://togithub.com/cert-manager/cert-manager/pull/6260)): [@jsoref](https://togithub.com/jsoref) [@FlorianLiebhart](https://togithub.com/FlorianLiebhart) [@hawksight](https://togithub.com/hawksight) [@erikgb](https://togithub.com/erikgb) Thanks again to all open-source contributors with commits in this release, including: [@AcidLeroy](https://togithub.com/AcidLeroy) [@FlorianLiebhart](https://togithub.com/FlorianLiebhart) [@lucacome](https://togithub.com/lucacome) [@cypres](https://togithub.com/cypres) [@erikgb](https://togithub.com/erikgb) [@ubergesundheit](https://togithub.com/ubergesundheit) [@jkroepke](https://togithub.com/jkroepke) [@jsoref](https://togithub.com/jsoref) [@gdvalle](https://togithub.com/gdvalle) [@rouke-broersma](https://togithub.com/rouke-broersma) [@schrodit](https://togithub.com/schrodit) [@zhangzhiqiangcs](https://togithub.com/zhangzhiqiangcs) [@arukiidou](https://togithub.com/arukiidou) [@hawksight](https://togithub.com/hawksight) [@Richardds](https://togithub.com/Richardds) [@kahirokunn](https://togithub.com/kahirokunn) Thanks also to the following cert-manager maintainers for their contributions during this release: [@SgtCoDFish](https://togithub.com/SgtCoDFish) [@maelvls](https://togithub.com/maelvls) [@irbekrm](https://togithub.com/irbekrm) [@inteon](https://togithub.com/inteon) Equally thanks to everyone who provided feedback, helped users and raised issues on Github and Slack and joined our meetings! Special thanks to [@AcidLeroy](https://togithub.com/AcidLeroy) for adding "load options from a versioned config file" support for the cert-manager controller! This has been on our wishlist for a very long time. (see [https://github.com/cert-manager/cert-manager/pull/5337](https://togithub.com/cert-manager/cert-manager/pull/5337)) Also, thanks a lot to [@FlorianLiebhart](https://togithub.com/FlorianLiebhart) for adding support for DNS over HTTPS for the ACME DNS self-check. This is very useful in case all traffic must be HTTP(S) trafic, eg. when using a HTTPS_PROXY. (see [https://github.com/cert-manager/cert-manager/pull/5003](https://togithub.com/cert-manager/cert-manager/pull/5003)) Thanks also to the [CNCF](https://www.cncf.io/), which provides resources and support, and to the AWS open source team for being good community members and for their maintenance of the [PrivateCA Issuer](https://togithub.com/cert-manager/aws-privateca-issuer). In addition, massive thanks to [Venafi](https://www.venafi.com/) for contributing developer time and resources towards the continued maintenance of cert-manager projects. #### Changes since v1.12.0 ##### Feature - Add support for logging options to webhook config file. ([#6243](https://togithub.com/cert-manager/cert-manager/issues/6243), [@inteon](https://togithub.com/inteon)) - Add view permissions to the well-known (Openshift) user-facing `cluster-reader` aggregated cluster role ([#6241](https://togithub.com/cert-manager/cert-manager/issues/6241), [@erikgb](https://togithub.com/erikgb)) - Certificate Shim: distinguish dns names and ip address in certificate ([#6267](https://togithub.com/cert-manager/cert-manager/issues/6267), [@zhangzhiqiangcs](https://togithub.com/zhangzhiqiangcs)) - Cmctl can now be imported by third parties. ([#6049](https://togithub.com/cert-manager/cert-manager/issues/6049), [@SgtCoDFish](https://togithub.com/SgtCoDFish)) - Make `enableServiceLinks` configurable for all Deployments and `startupapicheck` Job in Helm chart. ([#6292](https://togithub.com/cert-manager/cert-manager/issues/6292), [@ubergesundheit](https://togithub.com/ubergesundheit)) - Promoted the StableCertificateRequestName and SecretsFilteredCaching feature gates to Beta (enabled by default). ([#6298](https://togithub.com/cert-manager/cert-manager/issues/6298), [@inteon](https://togithub.com/inteon)) - The cert-manager controller options are now configurable using a configuration file. ([#5337](https://togithub.com/cert-manager/cert-manager/issues/5337), [@AcidLeroy](https://togithub.com/AcidLeroy)) - The pki CertificateTemplate functions now perform validation of the CSR blob, making sure we sign a Certificate that matches the IsCA and (Extended)KeyUsages that are defined in the CertificateRequest resource. ([#6199](https://togithub.com/cert-manager/cert-manager/issues/6199), [@inteon](https://togithub.com/inteon)) - \[helm] Add prometheus.servicemonitor.endpointAdditionalProperties to define additional properties on a ServiceMonitor endpoint, e.g. relabelings ([#6110](https://togithub.com/cert-manager/cert-manager/issues/6110), [@jkroepke](https://togithub.com/jkroepke)) ##### Design - DNS over HTTPS (DoH) is now possible for doing the self-checks during the ACME verification. The DNS check method to be used is controlled through the command line flag: `--dns01-recursive-nameservers-only=true` in combination with `--dns01-recursive-nameservers=https://Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.