syseleven / designate-certmanager-webhook

cert-manager ACME web-hook implementation for solving DNS01 Challenges
Apache License 2.0
26 stars 21 forks source link

Fix certificate duration in-cluster state vs helm issue #99

Closed ceriath closed 8 months ago

ceriath commented 1 year ago

Currently the template for the PKI defines its certificates with:

apiVersion: cert-manager.io/v1
kind: Certificate
spec:
  duration: 8760h # 1y

in-cluster this results in:

apiVersion: cert-manager.io/v1
kind: Certificate
spec:
  duration: 8760h0m0s # 1y

That causes issues with tools like ArgoCD that are trying to synchronize the desired state.