-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(eks): support for Kubernetes version 1.24 (#22945)
https://aws.amazon.com/blogs/containers/amazon-eks-now-supports-kubernetes-version-1-24/ <img width="1316" alt="image" src="https://user-images.githubusercontent.com/31543/202288808-8a9693f8-b953-4bd2-9692-f6b8f75355e9.png"> <img width="909" alt="Screen Shot 2022-11-16 at 1 39 22 PM" src="https://user-images.githubusercontent.com/31543/202289586-95bcddf8-6cf5-43b7-82db-b376f231594a.png"> Right in time just before the ReInvent 😄 ✌️ 🚀 ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) ### Adding new Unconventional Dependencies: * [ ] This PR adds new unconventional dependencies following the process described [here](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md/#adding-new-unconventional-dependencies) ### New Features * [x] Have you added the new feature to an [integration test](https://github.com/aws/aws-cdk/blob/main/INTEGRATION_TESTS.md)? * [x] Did you use `yarn integ` to deploy the infrastructure and generate the snapshot (i.e. `yarn integ` without `--dry-run`)? *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
Showing
92 changed files
with
1,366 additions
and
288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/@aws-cdk/aws-eks/test/integ-tests-kubernetes-version.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import * as lambda from '@aws-cdk/aws-lambda'; | ||
import { KubectlV23Layer } from '@aws-cdk/lambda-layer-kubectl-v23'; | ||
import { KubectlV24Layer } from '@aws-cdk/lambda-layer-kubectl-v24'; | ||
import { Construct } from 'constructs'; | ||
import * as eks from '../lib'; | ||
|
||
export function getClusterVersionConfig(scope: Construct) { | ||
return { | ||
version: eks.KubernetesVersion.V1_23, | ||
version: eks.KubernetesVersion.V1_24, | ||
// Crazy type-casting is required because KubectlLayer peer depends on | ||
// types from aws-cdk-lib, but we run integration tests in the @aws-cdk/ | ||
// v1-style directory, not in the aws-cdk-lib v2-style directory. | ||
kubectlLayer: new KubectlV23Layer(scope, 'KubectlLayer') as unknown as lambda.ILayerVersion, | ||
kubectlLayer: new KubectlV24Layer(scope, 'KubectlLayer') as unknown as lambda.ILayerVersion, | ||
}; | ||
}; |
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...db41531599e8f2be6c04e8ae66057/external.js → ...736faa94d1f42eccad2d88f3ce2e3/external.js
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
Binary file modified
BIN
+822 Bytes
(100%)
...er.js.snapshot/asset.5d8d1d0aacea23824c62f362e1e3c14b7dd14a31c71b53bfae4d14a6373c5510.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...er.js.snapshot/asset.ad44c2b0638f04871c889d78e71dea90ffae67b9cc4aa4366d5102db42435ee1.zip
Binary file not shown.
Binary file renamed
BIN
+26.1 MB
...0d8965ddf70c0e144af871d078fdbddf0a67d.zip → ...a9b843b111cd3b6d5fae9c954c006640c4064.zip
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.