From ac9c9b333273d31194ee5a2fdceda49053e90cdb Mon Sep 17 00:00:00 2001 From: Alex Berger Date: Wed, 11 Jun 2025 09:26:56 +0200 Subject: [PATCH] [helm-chart] allow setting revisionHistoryLimit for webhook Certificate Signed-off-by: Alex Berger --- helm/aws-load-balancer-controller/Chart.yaml | 2 +- helm/aws-load-balancer-controller/templates/webhook.yaml | 3 +++ helm/aws-load-balancer-controller/values.yaml | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/helm/aws-load-balancer-controller/Chart.yaml b/helm/aws-load-balancer-controller/Chart.yaml index 0a6d816971..93c20f8a74 100644 --- a/helm/aws-load-balancer-controller/Chart.yaml +++ b/helm/aws-load-balancer-controller/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: aws-load-balancer-controller description: AWS Load Balancer Controller Helm chart for Kubernetes -version: 1.13.2 +version: 1.13.3 appVersion: v2.13.2 home: https://github.com/aws/eks-charts icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png 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 b80d5d89ee..9362fabe9a 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: