Keyfactor / command-cert-manager-issuer

External issuer for cert-manager for Keyfactor Command
Apache License 2.0
4 stars 2 forks source link

feat(annotation) Enable default override via annotations attached to cert-manager Certificate objects #2

Closed m8rmclaren closed 1 year ago

m8rmclaren commented 1 year ago

Annotation Overrides for Issuer and ClusterIssuer Resources

The Keyfactor Command external issuer for cert-manager allows you to override default settings in the Issuer and ClusterIssuer resources through the use of annotations. This gives you more granular control on a per-Certificate/CertificateRequest basis.

Supported Annotations

Here are the supported annotations that can override the default values:

How to Apply Annotations

To apply these annotations, include them in the metadata section of your CertificateRequest resource:

apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
  annotations:
    command-issuer.keyfactor.com/certificateTemplate: "Ephemeral2day"
    command-issuer.keyfactor.com/certificateAuthorityLogicalName: "InternalIssuingCA1"
    # ... other annotations
spec:
# ... rest of the spec