diff --git a/api/versions/coredns.go b/api/versions/coredns.go index 0f05bc000..9a4103c5a 100644 --- a/api/versions/coredns.go +++ b/api/versions/coredns.go @@ -24,6 +24,7 @@ const ( Kubernetes_V1_29 = "v1.29" Kubernetes_V1_30 = "v1.30" Kubernetes_V1_31 = "v1.31" + Kubernetes_V1_32 = "v1.32" ) // CoreDNS versions @@ -49,6 +50,7 @@ var kubernetesToCoreDNSVersion = map[string]string{ Kubernetes_V1_29: CoreDNS_V1_11_1, Kubernetes_V1_30: CoreDNS_V1_11_3, Kubernetes_V1_31: CoreDNS_V1_11_3, + Kubernetes_V1_32: CoreDNS_V1_11_3, } // GetCoreDNSVersion returns the CoreDNS version for a given Kubernetes version. diff --git a/api/versions/coredns_test.go b/api/versions/coredns_test.go index df7f7c46e..977175169 100644 --- a/api/versions/coredns_test.go +++ b/api/versions/coredns_test.go @@ -46,6 +46,7 @@ func TestReturnsCorrectMappingForGetKubernetesToCoreDNSVersionMap(t *testing.T) "v1.29": "v1.11.1", "v1.30": "v1.11.3", "v1.31": "v1.11.3", + "v1.32": "v1.11.3", } assert.Equal(t, expected, mapping) }