update coredns to v1.10.1

Signed-off-by: Paco Xu <paco.xu@daocloud.io>
This commit is contained in:
Paco Xu 2023-02-08 10:45:04 +08:00
parent b670d1ba7c
commit b24725eed7
6 changed files with 9 additions and 9 deletions

View File

@ -29,7 +29,7 @@ dependencies:
# CoreDNS
- name: "coredns-kube-up"
version: 1.10.0
version: 1.10.1
refPaths:
- path: cluster/addons/dns/coredns/coredns.yaml.base
match: registry.k8s.io/coredns
@ -39,7 +39,7 @@ dependencies:
match: registry.k8s.io/coredns
- name: "coredns-kubeadm"
version: 1.10.0
version: 1.10.1
refPaths:
- path: cmd/kubeadm/app/constants/constants.go
match: CoreDNSVersion =

View File

@ -139,7 +139,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: coredns
image: registry.k8s.io/coredns/coredns:v1.10.0
image: registry.k8s.io/coredns/coredns:v1.10.1
imagePullPolicy: IfNotPresent
resources:
limits:

View File

@ -139,7 +139,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: coredns
image: registry.k8s.io/coredns/coredns:v1.10.0
image: registry.k8s.io/coredns/coredns:v1.10.1
imagePullPolicy: IfNotPresent
resources:
limits:

View File

@ -139,7 +139,7 @@ spec:
kubernetes.io/os: linux
containers:
- name: coredns
image: registry.k8s.io/coredns/coredns:v1.10.0
image: registry.k8s.io/coredns/coredns:v1.10.1
imagePullPolicy: IfNotPresent
resources:
limits:

View File

@ -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"

View File

@ -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{