Skip to content

Commit b9f9067

Browse files
authored
aws-load-balancer-controller: v2.17.0 (#1285)
1 parent f3cf821 commit b9f9067

File tree

10 files changed

+476
-12
lines changed

10 files changed

+476
-12
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
22
name: aws-load-balancer-controller
33
description: AWS Load Balancer Controller Helm chart for Kubernetes
4-
version: 1.16.0
5-
appVersion: v2.16.0
4+
version: 1.17.0
5+
appVersion: v2.17.0
66
home: https://github.com/aws/eks-charts
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ The default values set by the application itself can be confirmed [here](https:/
265265
| `enableManageBackendSecurityGroupRules` | If enabled, controller will manage security group rules | `false` |
266266
| `backendSecurityGroup` | Backend security group to use instead of auto created one if the feature is enabled | `` |
267267
| `disableRestrictedSecurityGroupRules` | If disabled, controller will not specify port range restriction in the backend security group rules | `false` |
268+
| `maxTargetsPerTargetGroup` | Specifies the maximum number of targets that the controller will attempt to add to a given ELB instance. If unset, no limits are applied. | `0` |
268269
| `objectSelector.matchExpressions` | Webhook configuration to select specific pods by specifying the expression to be matched | None |
269270
| `objectSelector.matchLabels` | Webhook configuration to select specific pods by specifying the key value label pair to be matched | None |
270271
| `serviceMonitor.enabled` | Specifies whether a service monitor should be created, requires the ServiceMonitor CRD to be installed | `false` |

stable/aws-load-balancer-controller/crds/aga-crds.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
- additionalPrinterColumns:
1818
- description: The Global Accelerator name
1919
jsonPath: .spec.name
20-
name: NAME
20+
name: ACCELERATOR-NAME
2121
type: string
2222
- description: The Global Accelerator DNS name
2323
jsonPath: .status.dnsName
@@ -264,6 +264,9 @@ spec:
264264
- fromPort
265265
- toPort
266266
type: object
267+
x-kubernetes-validations:
268+
- message: FromPort must be less than or equal to ToPort
269+
rule: self.fromPort <= self.toPort
267270
maxItems: 10
268271
minItems: 1
269272
type: array

stable/aws-load-balancer-controller/crds/crds.yaml

Lines changed: 403 additions & 0 deletions
Large diffs are not rendered by default.

stable/aws-load-balancer-controller/crds/gateway-crds.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,13 +561,18 @@ spec:
561561
protocolPort:
562562
description: protocolPort is identifier for the listener on
563563
load balancer. It should be of the form PROTOCOL:PORT
564-
pattern: ^(HTTP|HTTPS|TLS|TCP|UDP)?:(6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|[1-5]\d{4}|[1-9]\d{0,3})?$
564+
pattern: ^(HTTP|HTTPS|TLS|TCP|UDP|TCP_UDP)?:(6553[0-5]|655[0-2]\d|65[0-4]\d{2}|6[0-4]\d{3}|[1-5]\d{4}|[1-9]\d{0,3})?$
565565
type: string
566566
sslPolicy:
567567
description: sslPolicy is the security policy that defines which
568568
protocols and ciphers are supported for secure listeners [HTTPS
569569
or TLS listener].
570570
type: string
571+
targetGroupStickiness:
572+
description: targetGroupStickiness [Network LoadBalancer] enables
573+
sticky routing for requests when using a listener configured
574+
with weighted target groups.
575+
type: boolean
571576
required:
572577
- protocolPort
573578
type: object

stable/aws-load-balancer-controller/crds/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33
resources:
44
- crds.yaml
5+
- aga-crds.yaml

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ spec:
112112
{{- if .Values.targetgroupbindingMaxExponentialBackoffDelay }}
113113
- --targetgroupbinding-max-exponential-backoff-delay={{ .Values.targetgroupbindingMaxExponentialBackoffDelay }}
114114
{{- end }}
115+
{{- if .Values.globalAcceleratorMaxConcurrentReconciles }}
116+
- --globalaccelerator-max-concurrent-reconciles={{ .Values.globalAcceleratorMaxConcurrentReconciles }}
117+
{{- end }}
118+
{{- if .Values.globalAcceleratorMaxExponentialBackoffDelay }}
119+
- --globalaccelerator-max-exponential-backoff-delay={{ .Values.globalAcceleratorMaxExponentialBackoffDelay }}
120+
{{- end }}
115121
{{- if .Values.lbStabilizationMonitorInterval }}
116122
- --lb-stabilization-monitor-interval={{ .Values.lbStabilizationMonitorInterval }}
117123
{{- end }}
@@ -181,6 +187,9 @@ spec:
181187
{{- if .Values.vpcTags }}
182188
- --aws-vpc-tags={{ include "aws-load-balancer-controller.convertMapToCsv" .Values.vpcTags | trimSuffix "," }}
183189
{{- end }}
190+
{{- if .Values.maxTargetsPerTargetGroup }}
191+
- --max-targets-per-target-group={{ .Values.maxTargetsPerTargetGroup }}
192+
{{- end }}
184193
{{- if or .Values.env .Values.envSecretName }}
185194
env:
186195
{{- if .Values.env}}

stable/aws-load-balancer-controller/templates/webhook.yaml

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ webhooks:
8080
{{ end }}
8181
objectSelector:
8282
matchExpressions:
83-
- key: app.kubernetes.io/name
84-
operator: NotIn
85-
values:
86-
- {{ include "aws-load-balancer-controller.name" . }}
83+
- key: app.kubernetes.io/name
84+
operator: NotIn
85+
values:
86+
- {{ include "aws-load-balancer-controller.name" . }}
8787
{{- if .Values.objectSelector.matchExpressions }}
8888
{{- toYaml .Values.objectSelector.matchExpressions | nindent 4 }}
8989
{{- end }}
@@ -326,6 +326,36 @@ webhooks:
326326
- ingresses
327327
sideEffects: None
328328
{{- end }}
329+
{{- if .Values.controllerConfig.featureGates.GlobalAcceleratorController }}
330+
- clientConfig:
331+
{{- if not $.Values.enableCertManager }}
332+
caBundle: {{ $tls.caCert }}
333+
{{- end }}
334+
service:
335+
name: {{ template "aws-load-balancer-controller.webhookService" . }}
336+
namespace: {{ $.Release.Namespace }}
337+
path: /validate-aga-k8s-aws-v1beta1-globalaccelerator
338+
port: 443
339+
failurePolicy: Fail
340+
matchPolicy: Equivalent
341+
name: vglobalaccelerator.aga.k8s.aws
342+
admissionReviewVersions:
343+
- v1beta1
344+
namespaceSelector: {}
345+
objectSelector: {}
346+
rules:
347+
- apiGroups:
348+
- aga.k8s.aws
349+
apiVersions:
350+
- v1beta1
351+
operations:
352+
- CREATE
353+
- UPDATE
354+
resources:
355+
- globalaccelerators
356+
sideEffects: None
357+
timeoutSeconds: 10
358+
{{- end }}
329359
---
330360
{{- if not $.Values.enableCertManager }}
331361
apiVersion: v1

stable/aws-load-balancer-controller/test.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ replicaCount: 2
66

77
image:
88
repository: public.ecr.aws/eks/aws-load-balancer-controller
9-
tag: v2.16.0
9+
tag: v2.17.0
1010
pullPolicy: IfNotPresent
1111

1212
imagePullSecrets: []
@@ -292,6 +292,9 @@ backendSecurityGroup:
292292
# disableRestrictedSecurityGroupRules specifies whether to disable creating port-range restricted security group rules for traffic
293293
disableRestrictedSecurityGroupRules:
294294

295+
# maxTargetsPerTargetGroup specifies the maximum number of targets that the controller will attempt to add to a given ELB instance
296+
maxTargetsPerTargetGroup:
297+
295298
# controllerConfig specifies controller configuration
296299
controllerConfig:
297300
# featureGates set of key: value pairs that describe AWS load balance controller features
@@ -356,4 +359,4 @@ serviceMutatorWebhookConfig:
356359

357360
podMutatorWebhookConfig:
358361
# whether or not to fail the pod creation if the webhook fails
359-
failurePolicy: Ignore
362+
failurePolicy: Ignore

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ revisionHistoryLimit: 10
88

99
image:
1010
repository: public.ecr.aws/eks/aws-load-balancer-controller
11-
tag: v2.16.0
11+
tag: v2.17.0
1212
pullPolicy: IfNotPresent
1313

1414
runtimeClassName: ""
@@ -253,6 +253,12 @@ targetgroupbindingMaxConcurrentReconciles:
253253
# Maximum duration of exponential backoff for targetGroupBinding reconcile failures
254254
targetgroupbindingMaxExponentialBackoffDelay:
255255

256+
# Maximum number of concurrently running reconcile loops for GlobalAccelerator objects
257+
globalAcceleratorMaxConcurrentReconciles:
258+
259+
# Maximum duration of exponential backoff for GlobalAccelerator reconcile failures
260+
globalAcceleratorMaxExponentialBackoffDelay:
261+
256262
# Interval at which the controller monitors the state of load balancer after creation for stabilization
257263
lbStabilizationMonitorInterval:
258264

@@ -371,6 +377,9 @@ backendSecurityGroup:
371377
# disableRestrictedSecurityGroupRules specifies whether to disable creating port-range restricted security group rules for traffic
372378
disableRestrictedSecurityGroupRules:
373379

380+
# maxTargetsPerTargetGroup specifies the maximum number of targets that the controller will attempt to add to a given ELB instance
381+
maxTargetsPerTargetGroup:
382+
374383
# controllerConfig specifies controller configuration
375384
controllerConfig:
376385
# featureGates set of key: value pairs that describe AWS load balance controller features
@@ -385,7 +394,7 @@ controllerConfig:
385394
# NLBHealthCheckAdvancedConfig: true
386395
# ALBSingleSubnet: false
387396
# LBCapacityReservation: true
388-
# AGAController: false
397+
# GlobalAcceleratorController: false
389398
# EnhancedDefaultBehavior: false
390399
# EnableDefaultTagsLowPriority: false
391400
# ALBTargetControlAgent: false

0 commit comments

Comments
 (0)