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
Copy file name to clipboardExpand all lines: content/docs/releases/release-notes/release-notes-1.18.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,11 @@ cert-manager v1.18 includes:
9
9
10
10
## Major Themes
11
11
12
-
### TODO
12
+
### Copy annotations from Ingress or Gateway to the Certificate
13
+
14
+
We've added a new configuration option to the cert-manager controller: `--extra-certificate-annotations`, which allows you to specify annotation keys to be copied from an Ingress or Gateway resource to the resulting Certificate object.
15
+
Read [Annotated Ingress resource: Copy annotations to the Certificate](../../usage/ingress.md#copy-annotations-to-the-certificate), and
16
+
[Annotated Gateway resource: Copy annotations to the Certificate](../../usage/gateway.md#copy-annotations-to-the-certificate), to learn more.
Copy file name to clipboardExpand all lines: content/docs/usage/gateway.md
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -438,8 +438,30 @@ Certificate resources:
438
438
configure `spec.privateKey.rotationPolicy` field to set the rotation policy of the private key for a Certificate.
439
439
Valid values are `Never` and `Always`. If unset a rotation policy `Never` will be used.
440
440
441
-
It is possible to copy any specific custom annotation into generated `Certificate` object.
442
-
Like below, custom `Venafi` configuration could be specified. When `cert-manager` is started with `--extra-certificate-annotations=venafi.cert-manager.io/custom-fields`
441
+
## Copy annotations to the Certificate
442
+
443
+
> ℹ️ This feature was added in cert-manager `v1.18.0`.
444
+
445
+
It is possible to copy any specific custom annotation into the generated `Certificate` objects.
446
+
For example, to copy the annotation: `venafi.cert-manager.io/custom-fields`from the Gateway to the Certificate,
447
+
you must first redeploy the cert-manager controller with the following extra argument:
Copy file name to clipboardExpand all lines: content/docs/usage/ingress.md
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -177,8 +177,30 @@ trigger Certificate resources to be automatically created:
177
177
configure `spec.privateKey.rotationPolicy` field to set the rotation policy of the private key for a Certificate.
178
178
Valid values are `Never` and `Always`. If unset a rotation policy `Never` will be used.
179
179
180
-
It is possible to copy any specific custom annotation into generated `Certificate` object.
181
-
Like below, custom `Venafi` configuration could be specified. When `cert-manager` is started with `--extra-certificate-annotations=venafi.cert-manager.io/custom-fields`
180
+
## Copying annotations to the Certificate
181
+
182
+
> ℹ️ This feature was added in cert-manager `v1.18.0`.
183
+
184
+
It is possible to copy any specific custom annotation into the generated `Certificate` objects.
185
+
For example, to copy the annotation: `venafi.cert-manager.io/custom-fields`from the Ingress to the Certificate,
186
+
you must first redeploy the cert-manager controller with the following extra argument:
0 commit comments