From 8e755fc119169e91044d3e9b61f2145073624c17 Mon Sep 17 00:00:00 2001 From: Alex Berger Date: Thu, 19 Jun 2025 09:57:50 +0200 Subject: [PATCH] [helm-chart] allow setting revisionHistoryLimit for webhook Certificate Signed-off-by: Alex Berger --- helm/aws-load-balancer-controller/templates/webhook.yaml | 3 +++ helm/aws-load-balancer-controller/values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/helm/aws-load-balancer-controller/templates/webhook.yaml b/helm/aws-load-balancer-controller/templates/webhook.yaml index d578220618..009fa30d9a 100644 --- a/helm/aws-load-balancer-controller/templates/webhook.yaml +++ b/helm/aws-load-balancer-controller/templates/webhook.yaml @@ -244,6 +244,9 @@ spec: {{- if .renewBefore }} renewBefore: {{ .renewBefore }} {{- end }} + {{- if .revisionHistoryLimit }} + revisionHistoryLimit: {{ .revisionHistoryLimit }} + {{- end }} {{- end }} --- apiVersion: cert-manager.io/v1 diff --git a/helm/aws-load-balancer-controller/values.yaml b/helm/aws-load-balancer-controller/values.yaml index 8eb1f19e8d..858d196f8f 100644 --- a/helm/aws-load-balancer-controller/values.yaml +++ b/helm/aws-load-balancer-controller/values.yaml @@ -119,6 +119,7 @@ enableCertManager: false certManager: duration: renewBefore: + revisionHistoryLimit: # The name of the Kubernetes cluster. A non-empty value is required clusterName: