diff --git a/eks/sync.go b/eks/sync.go index 654967c..e90343c 100644 --- a/eks/sync.go +++ b/eks/sync.go @@ -39,30 +39,30 @@ const ( var ( // NOTE: Ensure that there is an entry for each supported version in the following tables. - supportedVersions = []string{"1.22", "1.21", "1.20", "1.19"} + supportedVersions = []string{"1.23", "1.22", "1.21", "1.20"} // Reference: https://docs.aws.amazon.com/eks/latest/userguide/managing-coredns.html coreDNSVersionLookupTable = map[string]string{ + "1.23": "1.8.7-eksbuild", "1.22": "1.8.7-eksbuild", "1.21": "1.8.4-eksbuild", "1.20": "1.8.3-eksbuild", - "1.19": "1.8.0-eksbuild", } // Reference: https://docs.aws.amazon.com/eks/latest/userguide/managing-kube-proxy.html#updating-kube-proxy-add-on kubeProxyVersionLookupTable = map[string]string{ - "1.22": "1.22.6-eksbuild", - "1.21": "1.21.2-eksbuild", - "1.20": "1.20.4-eksbuild", - "1.19": "1.19.6-eksbuild", + "1.23": "1.23.7-minimal-eksbuild", + "1.22": "1.22.11-eksbuild", + "1.21": "1.21.14-eksbuild", + "1.20": "1.20.15-eksbuild", } // Reference: https://docs.aws.amazon.com/eks/latest/userguide/managing-vpc-cni.html amazonVPCCNIVersionLookupTable = map[string]string{ - "1.22": "1.10.2", - "1.21": "1.10.2", - "1.20": "1.10.2", - "1.19": "1.10.2", + "1.23": "1.11.3", + "1.22": "1.11.3", + "1.21": "1.11.3", + "1.20": "1.11.3", } defaultContainerImageAccount = "602401143452" diff --git a/eks/sync_test.go b/eks/sync_test.go index 596b7d0..cf56104 100644 --- a/eks/sync_test.go +++ b/eks/sync_test.go @@ -195,8 +195,9 @@ func TestFindLatestEKSBuild(t *testing.T) { region string expectedVersion string }{ - {"1.20", "us-east-1", "1.20.4-eksbuild.2"}, - {"1.22", "us-east-1", "1.22.6-eksbuild.1"}, + {"1.20", "us-east-1", "1.20.15-eksbuild.2"}, + {"1.22", "us-east-1", "1.22.11-eksbuild.2"}, + {"1.23", "us-east-1", "1.23.7-minimal-eksbuild.1"}, } for _, tc := range testCase {