Merge pull request #102466 from pacoxu/dns-1.8.4

kubeadm: update coredns to 1.8.4
This commit is contained in:
Kubernetes Prow Robot 2021-06-21 18:14:10 -07:00 committed by GitHub
commit cfa0130b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 5 deletions

View File

@ -55,7 +55,7 @@ dependencies:
match: k8s.gcr.io/coredns
- name: "coredns-kubeadm"
version: 1.8.0
version: 1.8.4
refPaths:
- path: cmd/kubeadm/app/constants/constants.go
match: CoreDNSVersion =

View File

@ -325,7 +325,7 @@ const (
CoreDNSImageName = "coredns"
// CoreDNSVersion is the version of CoreDNS to be deployed if it is used
CoreDNSVersion = "v1.8.0"
CoreDNSVersion = "v1.8.4"
// ClusterConfigurationKind is the string kind value for the ClusterConfiguration struct
ClusterConfigurationKind = "ClusterConfiguration"

View File

@ -233,7 +233,7 @@ func TestGetDNSImage(t *testing.T) {
cfg *kubeadmapi.ClusterConfiguration
}{
{
expected: "foo.io/coredns:v1.8.0",
expected: "foo.io/coredns:v1.8.4",
cfg: &kubeadmapi.ClusterConfiguration{
ImageRepository: "foo.io",
DNS: kubeadmapi.DNS{
@ -242,7 +242,7 @@ func TestGetDNSImage(t *testing.T) {
},
},
{
expected: kubeadmapiv1beta2.DefaultImageRepository + "/coredns/coredns:v1.8.0",
expected: kubeadmapiv1beta2.DefaultImageRepository + "/coredns/coredns:v1.8.4",
cfg: &kubeadmapi.ClusterConfiguration{
ImageRepository: kubeadmapiv1beta2.DefaultImageRepository,
DNS: kubeadmapi.DNS{
@ -251,7 +251,7 @@ func TestGetDNSImage(t *testing.T) {
},
},
{
expected: "foo.io/coredns/coredns:v1.8.0",
expected: "foo.io/coredns/coredns:v1.8.4",
cfg: &kubeadmapi.ClusterConfiguration{
ImageRepository: "foo.io",
DNS: kubeadmapi.DNS{

View File

@ -197,6 +197,13 @@ rules:
- nodes
verbs:
- get
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- list
- watch
`
// CoreDNSClusterRoleBinding is the CoreDNS Clusterrolebinding manifest
CoreDNSClusterRoleBinding = `