Skip to content

Commit f00f918

Browse files
authored
chore(eks): update ALB controller versions (#29470)
### Issue # (if applicable) None as far as I could tell ### Reason for this change Update the CDK listed ALB controller versions to match the current availability ### Description of changes * Added missing controller versions * Updated the Helm version of existing controller versions ### Description of how you validated changes I listed the list of available versions by using the `ecr:ListImages` command on the `amazon/aws-load-balancer-controller` repository. I'm also filtering out tags that do not match a `v1.2.3` pattern, e.g. `v2.0.0-rc5`, `v2.0.0-test-linux_amd64` For the Helm chart version, I **initially** manually went through the blame history of https://github.com/aws/eks-charts/blob/master/stable/aws-load-balancer-controller/Chart.yaml. @guessi then recommended I use the [Helm CLI](https://helm.sh/) to obtain the corresponding versions, which worked a ton better and was easily integrated to my tool: ```sh helm repo add eks https://aws.github.io/eks-charts helm repo update helm search repo aws-load-balancer-controller --versions --output json ``` ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 1bdd3fa commit f00f918

File tree

1 file changed

+33
-13
lines changed

1 file changed

+33
-13
lines changed

packages/aws-cdk-lib/aws-eks/lib/alb-controller.ts

+33-13
Original file line numberDiff line numberDiff line change
@@ -20,67 +20,72 @@ export class AlbControllerVersion {
2020
/**
2121
* v2.0.0
2222
*/
23-
public static readonly V2_0_0 = new AlbControllerVersion('v2.0.0', '1.4.1', false);
23+
public static readonly V2_0_0 = new AlbControllerVersion('v2.0.0', '1.0.6', false);
2424

2525
/**
2626
* v2.0.1
2727
*/
28-
public static readonly V2_0_1 = new AlbControllerVersion('v2.0.1', '1.4.1', false);
28+
public static readonly V2_0_1 = new AlbControllerVersion('v2.0.1', '1.0.8', false);
2929

3030
/**
3131
* v2.1.0
3232
*/
33-
public static readonly V2_1_0 = new AlbControllerVersion('v2.1.0', '1.4.1', false);
33+
public static readonly V2_1_0 = new AlbControllerVersion('v2.1.0', '1.1.1', false);
3434

3535
/**
3636
* v2.1.1
3737
*/
38-
public static readonly V2_1_1 = new AlbControllerVersion('v2.1.1', '1.4.1', false);
38+
public static readonly V2_1_1 = new AlbControllerVersion('v2.1.1', '1.1.3', false);
3939

4040
/**
4141
* v2.1.2
4242
*/
43-
public static readonly V2_1_2 = new AlbControllerVersion('v2.1.2', '1.4.1', false);
43+
public static readonly V2_1_2 = new AlbControllerVersion('v2.1.2', '1.1.4', false);
4444

4545
/**
4646
* v2.1.3
4747
*/
48-
public static readonly V2_1_3 = new AlbControllerVersion('v2.1.3', '1.4.1', false);
48+
public static readonly V2_1_3 = new AlbControllerVersion('v2.1.3', '1.1.6', false);
4949

5050
/**
5151
* v2.0.0
5252
*/
53-
public static readonly V2_2_0 = new AlbControllerVersion('v2.2.0', '1.4.1', false);
53+
public static readonly V2_2_0 = new AlbControllerVersion('v2.2.0', '1.2.2', false);
5454

5555
/**
5656
* v2.2.1
5757
*/
58-
public static readonly V2_2_1 = new AlbControllerVersion('v2.2.1', '1.4.1', false);
58+
public static readonly V2_2_1 = new AlbControllerVersion('v2.2.1', '1.2.3', false);
5959

6060
/**
6161
* v2.2.2
6262
*/
63-
public static readonly V2_2_2 = new AlbControllerVersion('v2.2.2', '1.4.1', false);
63+
public static readonly V2_2_2 = new AlbControllerVersion('v2.2.2', '1.2.5', false);
6464

6565
/**
6666
* v2.2.3
6767
*/
68-
public static readonly V2_2_3 = new AlbControllerVersion('v2.2.3', '1.4.1', false);
68+
public static readonly V2_2_3 = new AlbControllerVersion('v2.2.3', '1.2.6', false);
6969

7070
/**
7171
* v2.2.4
7272
*/
73-
public static readonly V2_2_4 = new AlbControllerVersion('v2.2.4', '1.4.1', false);
73+
public static readonly V2_2_4 = new AlbControllerVersion('v2.2.4', '1.2.7', false);
7474

7575
/**
7676
* v2.3.0
7777
*/
78-
public static readonly V2_3_0 = new AlbControllerVersion('v2.3.0', '1.4.1', false);
78+
public static readonly V2_3_0 = new AlbControllerVersion('v2.3.0', '1.3.2', false);
7979

8080
/**
8181
* v2.3.1
8282
*/
83-
public static readonly V2_3_1 = new AlbControllerVersion('v2.3.1', '1.4.1', false);
83+
public static readonly V2_3_1 = new AlbControllerVersion('v2.3.1', '1.3.3', false);
84+
85+
/**
86+
* v2.4.0
87+
*/
88+
public static readonly V2_4_0 = new AlbControllerVersion('v2.4.0', '1.4.0', false);
8489

8590
/**
8691
* v2.4.1
@@ -157,6 +162,21 @@ export class AlbControllerVersion {
157162
*/
158163
public static readonly V2_6_2 = new AlbControllerVersion('v2.6.2', '1.6.2', false);
159164

165+
/**
166+
* v2.7.0
167+
*/
168+
public static readonly V2_7_0 = new AlbControllerVersion('v2.7.0', '1.7.0', false);
169+
170+
/**
171+
* v2.7.1
172+
*/
173+
public static readonly V2_7_1 = new AlbControllerVersion('v2.7.1', '1.7.1', false);
174+
175+
/**
176+
* v2.7.2
177+
*/
178+
public static readonly V2_7_2 = new AlbControllerVersion('v2.7.2', '1.7.2', false);
179+
160180
/**
161181
* Specify a custom version and an associated helm chart version.
162182
* Use this if the version you need is not available in one of the predefined versions.

0 commit comments

Comments
 (0)