diff --git a/eks/coredns.go b/eks/coredns.go index 7d8ae96..07c57fd 100644 --- a/eks/coredns.go +++ b/eks/coredns.go @@ -73,7 +73,7 @@ func ScheduleCoredns( } else { err = kubectl.RunKubectl( kubectlOptions, - "rollout", "restart", "coredns", "-n", "kube-system", + "rollout", "restart", "deployment", "coredns", "-n", "kube-system", ) if err != nil { diff --git a/eks/sync_test.go b/eks/sync_test.go index 1725b04..baf6d56 100644 --- a/eks/sync_test.go +++ b/eks/sync_test.go @@ -206,7 +206,7 @@ func TestFindLatestEKSBuilds(t *testing.T) { {kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.27", "us-east-1", "1.27.6-minimal-eksbuild.2"}, {kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.26", "us-east-1", "1.26.9-minimal-eksbuild.2"}, {kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.25", "us-east-1", "1.25.14-minimal-eksbuild.2"}, - {kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.24", "us-east-1", "1.24.17-minimal-eksbuild.7"}, + {kubeProxyVersionLookupTable, kubeProxyRepoPath, "1.24", "us-east-1", "1.24.17-minimal-eksbuild.8"}, } for _, tc := range testCase {