From 30fc71519c65975ff1a885965a1bb417265779ba Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Wed, 7 Jun 2023 10:30:49 +0200 Subject: [PATCH] fix(common): always rotate cert-manager privatekeys on ingress --- library/common/templates/class/_ingress.tpl | 1 + 1 file changed, 1 insertion(+) diff --git a/library/common/templates/class/_ingress.tpl b/library/common/templates/class/_ingress.tpl index ce6bc7c6..40906f17 100644 --- a/library/common/templates/class/_ingress.tpl +++ b/library/common/templates/class/_ingress.tpl @@ -73,6 +73,7 @@ metadata: annotations: {{- with $values.certificateIssuer }} cert-manager.io/cluster-issuer: {{ tpl ( toYaml . ) $ }} + cert-manager.io/private-key-rotation-policy: Always {{- end }} "traefik.ingress.kubernetes.io/router.entrypoints": {{ $values.entrypoint | default "websecure" }} "traefik.ingress.kubernetes.io/router.middlewares": {{ $middlewares | quote }}