Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/docs/usage/ingress.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,12 @@ trigger `Certificate` resources to be automatically created:
configure `spec.privateKey.rotationPolicy` field to set the rotation policy of the private key for a Certificate.
Valid values are `Never` and `Always`. If unset a rotation policy `Always` will be used.

- `cert-manager.io/secret-template`: (optional) this annotation allows you to
set the `spec.secretTemplate` field of the generated Certificate.
The value is a JSON representation of `secretTemplate` and must not contain any unknown fields.
`secretTemplate` accepts `annotations` and `labels` maps, which are copied onto the `Secret` that stores the certificate.
For example: `cert-manager.io/secret-template: '{"labels": {"team": "platform"}, "annotations": {"example.com/owner": "platform"}}'`.

## Copying annotations to the Certificate

> ℹ️ This feature was added in cert-manager `v1.18.0`.
Expand Down