Skip to content

Commit 41ebb0b

Browse files
authored
fix: Add revisionHistoryLimit override (#3486)
Signed-off-by: Matt Dainty <[email protected]>
1 parent d0c13bf commit 41ebb0b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

helm/aws-load-balancer-controller/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ The default values set by the application itself can be confirmed [here](https:/
246246
| `extraVolumes` | Extra volumes for the pod | `[]` |
247247
| `defaultTags` | Default tags to apply to all AWS resources managed by this controller | `{}` |
248248
| `replicaCount` | Number of controller pods to run, only one will be active due to leader election | `2` |
249+
| `revisionHistoryLimit` | Number of revisions to keep | `10` |
249250
| `podDisruptionBudget` | Limit the disruption for controller pods. Require at least 2 controller replicas and 3 worker nodes | `{}` |
250251
| `updateStrategy` | Defines the update strategy for the deployment | `{}` |
251252
| `enableCertManager` | If enabled, cert-manager issues the webhook certificates instead of the helm template, requires cert-manager and it's CRDs to be installed | `false` |

helm/aws-load-balancer-controller/templates/deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ metadata:
1111
{{- include "aws-load-balancer-controller.labels" . | nindent 4 }}
1212
spec:
1313
replicas: {{ .Values.replicaCount }}
14+
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
1415
selector:
1516
matchLabels:
1617
{{- include "aws-load-balancer-controller.selectorLabels" . | nindent 6 }}

helm/aws-load-balancer-controller/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
replicaCount: 2
66

7+
revisionHistoryLimit: 10
8+
79
image:
810
repository: public.ecr.aws/eks/aws-load-balancer-controller
911
tag: v2.6.1

0 commit comments

Comments
 (0)