coreos-overlay: Add support for new EKS versions

This change adds download URLs for EKS 1.24,
1.25, 1.26, 1.27 and 1.28 so images can
more easily be used for EKS workers.

Signed-off-by: Hart Hoover <hart.hoover@gmail.com>
This commit is contained in:
hhoover 2023-10-04 13:38:55 -05:00
parent e6b6d3f0a4
commit 63f825bad5
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1 @@
- Added EKS support for versions 1.24-1.28. Fixed `/usr/share/amazon/eks/download-kubelet.sh` to include download paths for these versions.

View File

@ -22,6 +22,21 @@ fi
# Select the right path depending on the Kubernetes version.
# https://github.com/awslabs/amazon-eks-ami/blob/master/Makefile
case $CLUSTER_VERSION in
1.28)
S3_PATH="1.28.1/2023-09-14"
;;
1.27)
S3_PATH="1.27.5/2023-09-14"
;;
1.26)
S3_PATH="1.26.8/2023-09-14"
;;
1.25)
S3_PATH="1.25.13/2023-09-14"
;;
1.24)
S3_PATH="1.24.17/2023-09-14"
;;
1.23)
S3_PATH="1.23.9/2022-07-27"
;;