Skip to content

Commit 5a84850

Browse files
authored
Merge pull request #4059 from sherifabdlnaby/dont-render-replicas-with-hpa
Do not render `.spec.replicas` if Autoscaling is Enabled
2 parents 526b830 + dc64725 commit 5a84850

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: aws-load-balancer-controller
33
description: AWS Load Balancer Controller Helm chart for Kubernetes
4-
version: 1.11.0
4+
version: 1.11.1
55
appVersion: v2.11.0
66
home: https://github.com/aws/eks-charts
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png

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

+2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ metadata:
1010
labels:
1111
{{- include "aws-load-balancer-controller.labels" . | nindent 4 }}
1212
spec:
13+
{{ if not .Values.autoscaling.enabled }}
1314
replicas: {{ .Values.replicaCount }}
15+
{{ end }}
1416
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
1517
selector:
1618
matchLabels:

0 commit comments

Comments
 (0)