You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a `ClusterIssuer` or `Issuer` resource as following:
41
-
(Keep in Mind that the Example uses the Staging URL from Let's Encrypt. Look at [Getting Start](https://letsencrypt.org/getting-started/) for using the normal Let's Encrypt URL.)
47
+
(Keep in Mind that the Example uses the Staging URL from Let's Encrypt. Look
48
+
at [Getting Start](https://letsencrypt.org/getting-started/) for using the normal Let's Encrypt URL.)
49
+
42
50
```yaml
43
51
apiVersion: cert-manager.io/v1
44
52
kind: ClusterIssuer
@@ -59,8 +67,7 @@ spec:
59
67
solvers:
60
68
- dns01:
61
69
webhook:
62
-
# This group needs to be configured when installing the helm package, otherwise the webhook won't have permission to create an ACME challenge for this API group.
In order to access the Hetzner API, the webhook needs an API token.
73
81
74
-
If you choose another name for the secret than `hetzner-secret`, you must install the chart with a modified `secretName` value. Policies ensure that no other secrets can be read by the webhook. Also modify the value of `secretName` in the `[Cluster]Issuer`.
82
+
If you choose another name for the secret than `hetzner-secret`, you must install the chart with a modified `secretName`
83
+
value. Policies ensure that no other secrets can be read by the webhook. Also modify the value of `secretName` in the
84
+
`[Cluster]Issuer`.
75
85
76
86
The secret for the example above will look like this:
87
+
77
88
```yaml
78
89
apiVersion: v1
79
90
kind: Secret
@@ -115,9 +126,10 @@ else they will have undetermined behaviour when used with cert-manager.
115
126
**It is essential that you configure and run the test suite when creating a
116
127
DNS01 webhook.**
117
128
118
-
First, you need to have Hetzner account with access to DNS control panel. You need to create API token and have a registered and verified DNS zone there.
129
+
First, you need to have Hetzner account with access to DNS control panel. You need to create API token and have a
130
+
registered and verified DNS zone there.
119
131
Then you need to replace `zoneName` parameter at `testdata/hetzner/config.json` file with actual one.
120
-
You also must encode your api token into base64 and put the hash into `testdata/hetzner/hetzner-secret.yml` file.
132
+
You also must encode your API token into base64 and put the hash into `testdata/hetzner/hetzner-secret.yml` file.
121
133
122
134
You can then run the test suite with:
123
135
@@ -131,11 +143,13 @@ TEST_ZONE_NAME=example.com. make verify
131
143
## Creating new package
132
144
133
145
To build new Docker image for multiple architectures and push it to hub:
0 commit comments