Skip to content

Commit 20125b9

Browse files
committed
feat: Support ACME DNS01 recursive nameservers config
1 parent 0f1e454 commit 20125b9

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ Settings for the cert-manager controller.
115115
|--------|---------|-------------|
116116
| `controller.loglevel` | `2` | Number of the log level verbosity. |
117117
| `controller.replicas` | `1` | The number of replicas. In order to enable high availability, 2 replicas are recommended. |
118+
| `controller.dns01.recursive_nameservers` | `[]` | Each nameserver can be either the IP address and port of a standard recursive DNS server, or the endpoint to an RFC 8484 DNS over HTTPS endpoint. |
119+
| `controller.dns01.recursive_nameservers_only` | `false` | When true, cert-manager will only ever query the configured DNS resolvers to perform the ACME DNS01 self check. This is useful in DNS constrained environments, where access to authoritative nameservers is restricted. Enabling this option could cause the DNS01 self check to take longer due to caching performed by the recursive nameservers. |
118120

119121
Settings for the cert-manager cainjector.
120122

package/config/overlays/config-controller.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ logging:
2020

2121
acmeHTTP01Config:
2222
solverImage: quay.io/jetstack/cert-manager-acmesolver:v1.17.2
23+
24+
acmeDNS01Config:
25+
recursiveNameservers: #@ data.values.controller.dns01.recursive_nameservers
26+
recursiveNameserversOnly: #@ data.values.controller.dns01.recursive_nameservers_only
2327
#@ end
2428

2529
---

package/config/values-schema.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ controller:
2727
#@schema/desc "The number of replicas. In order to enable high availability, 2 replicas are recommended."
2828
#@schema/validation min=1
2929
replicas: 1
30+
#@schema/desc "Configures the behaviour of the ACME DNS01 challenge solver."
31+
dns01:
32+
#@schema/desc "Each nameserver can be either the IP address and port of a standard recursive DNS server, or the endpoint to an RFC 8484 DNS over HTTPS endpoint."
33+
recursive_nameservers:
34+
- ""
35+
#@schema/desc "When true, cert-manager will only ever query the configured DNS resolvers to perform the ACME DNS01 self check. This is useful in DNS constrained environments, where access to authoritative nameservers is restricted. Enabling this option could cause the DNS01 self check to take longer due to caching performed by the recursive nameservers."
36+
recursive_nameservers_only: false
3037

3138
#@schema/desc "Settings for the cainjector controller."
3239
cainjector:

0 commit comments

Comments
 (0)