Skip to content

Commit 5a9d77a

Browse files
authored
Add Support for EKS 1.29 (#228)
* add support for eks 1.29 drop support for eks 1.24 * update version table to remove v prefix * update version lookup table to latest
1 parent 8e1c112 commit 5a9d77a

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

eks/sync.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,33 +39,33 @@ const (
3939

4040
var (
4141
// NOTE: Ensure that there is an entry for each supported version in the following tables.
42-
supportedVersions = []string{"1.28", "1.27", "1.26", "1.25", "1.24"}
42+
supportedVersions = []string{"1.29", "1.28", "1.27", "1.26", "1.25"}
4343

4444
// Reference: https://docs.aws.amazon.com/eks/latest/userguide/managing-coredns.html
4545
coreDNSVersionLookupTable = map[string]string{
46+
"1.29": "1.11.1-eksbuild",
4647
"1.28": "1.10.1-eksbuild",
4748
"1.27": "1.10.1-eksbuild",
4849
"1.26": "1.9.3-eksbuild",
4950
"1.25": "1.9.3-eksbuild",
50-
"1.24": "1.9.3-eksbuild",
5151
}
5252

5353
// Reference: https://docs.aws.amazon.com/eks/latest/userguide/managing-kube-proxy.html#updating-kube-proxy-add-on
5454
kubeProxyVersionLookupTable = map[string]string{
55-
"1.28": "1.28.2-minimal-eksbuild",
56-
"1.27": "1.27.6-minimal-eksbuild",
57-
"1.26": "1.26.9-minimal-eksbuild",
58-
"1.25": "1.25.14-minimal-eksbuild",
59-
"1.24": "1.24.17-minimal-eksbuild",
55+
"1.29": "1.29.1-minimal-eksbuild",
56+
"1.28": "1.28.6-minimal-eksbuild",
57+
"1.27": "1.27.10-minimal-eksbuild",
58+
"1.26": "1.26.13-minimal-eksbuild",
59+
"1.25": "1.25.16-minimal-eksbuild",
6060
}
6161

6262
// Reference: https://docs.aws.amazon.com/eks/latest/userguide/managing-vpc-cni.html
6363
amazonVPCCNIVersionLookupTable = map[string]string{
64-
"1.28": "1.15.1",
65-
"1.27": "1.15.1",
66-
"1.26": "1.15.1",
67-
"1.25": "1.15.1",
68-
"1.24": "1.15.1",
64+
"1.29": "1.16.2",
65+
"1.28": "1.16.2",
66+
"1.27": "1.16.2",
67+
"1.26": "1.16.2",
68+
"1.25": "1.16.2",
6969
}
7070

7171
defaultContainerImageAccount = "602401143452"

eks/sync_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -197,16 +197,16 @@ func TestFindLatestEKSBuilds(t *testing.T) {
197197
region string
198198
expectedVersion string
199199
}{
200+
{coreDNSVersionLookupTable, coreDNSRepoPath, "1.29", "us-east-1", "1.11.1-eksbuild.6"},
200201
{coreDNSVersionLookupTable, coreDNSRepoPath, "1.28", "us-east-1", "1.10.1-eksbuild.8"},
201202
{coreDNSVersionLookupTable, coreDNSRepoPath, "1.27", "us-east-1", "1.10.1-eksbuild.8"},
202203
{coreDNSVersionLookupTable, coreDNSRepoPath, "1.26", "us-east-1", "1.9.3-eksbuild.12"},
203204
{coreDNSVersionLookupTable, coreDNSRepoPath, "1.25", "us-east-1", "1.9.3-eksbuild.12"},
204-
{coreDNSVersionLookupTable, coreDNSRepoPath, "1.24", "us-east-1", "1.9.3-eksbuild.12"},
205-
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.28", "us-east-1", "1.28.2-minimal-eksbuild.2"},
206-
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.27", "us-east-1", "1.27.6-minimal-eksbuild.2"},
207-
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.26", "us-east-1", "1.26.9-minimal-eksbuild.2"},
208-
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.25", "us-east-1", "1.25.14-minimal-eksbuild.2"},
209-
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.24", "us-east-1", "1.24.17-minimal-eksbuild.8"},
205+
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.29", "us-east-1", "1.29.1-minimal-eksbuild.3"},
206+
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.28", "us-east-1", "1.28.6-minimal-eksbuild.3"},
207+
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.27", "us-east-1", "1.27.10-minimal-eksbuild.3"},
208+
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.26", "us-east-1", "1.26.13-minimal-eksbuild.3"},
209+
{kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.25", "us-east-1", "1.25.16-minimal-eksbuild.4"},
210210
}
211211

212212
for _, tc := range testCase {

0 commit comments

Comments
 (0)