mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-16 14:45:28 +00:00
Merge pull request #115603 from pacoxu/coredns-v1.10.1
update coredns to v1.10.1
This commit is contained in:
@@ -345,7 +345,7 @@ const (
|
||||
CoreDNSImageName = "coredns"
|
||||
|
||||
// CoreDNSVersion is the version of CoreDNS to be deployed if it is used
|
||||
CoreDNSVersion = "v1.10.0"
|
||||
CoreDNSVersion = "v1.10.1"
|
||||
|
||||
// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
|
||||
ClusterConfigurationKind = "ClusterConfiguration"
|
||||
|
@@ -241,21 +241,21 @@ func TestGetDNSImage(t *testing.T) {
|
||||
cfg *kubeadmapi.ClusterConfiguration
|
||||
}{
|
||||
{
|
||||
expected: "foo.io/coredns:v1.10.0",
|
||||
expected: "foo.io/coredns:v1.10.1",
|
||||
cfg: &kubeadmapi.ClusterConfiguration{
|
||||
ImageRepository: "foo.io",
|
||||
DNS: kubeadmapi.DNS{},
|
||||
},
|
||||
},
|
||||
{
|
||||
expected: kubeadmapiv1beta3.DefaultImageRepository + "/coredns/coredns:v1.10.0",
|
||||
expected: kubeadmapiv1beta3.DefaultImageRepository + "/coredns/coredns:v1.10.1",
|
||||
cfg: &kubeadmapi.ClusterConfiguration{
|
||||
ImageRepository: kubeadmapiv1beta3.DefaultImageRepository,
|
||||
DNS: kubeadmapi.DNS{},
|
||||
},
|
||||
},
|
||||
{
|
||||
expected: "foo.io/coredns/coredns:v1.10.0",
|
||||
expected: "foo.io/coredns/coredns:v1.10.1",
|
||||
cfg: &kubeadmapi.ClusterConfiguration{
|
||||
ImageRepository: "foo.io",
|
||||
DNS: kubeadmapi.DNS{
|
||||
|
Reference in New Issue
Block a user