diff --git a/internal/app/machined/pkg/controllers/k8s/templates.go b/internal/app/machined/pkg/controllers/k8s/templates.go index a9692119e..443cef17a 100644 --- a/internal/app/machined/pkg/controllers/k8s/templates.go +++ b/internal/app/machined/pkg/controllers/k8s/templates.go @@ -273,6 +273,12 @@ rules: - nodes verbs: - get + - apiGroups: ["discovery.k8s.io"] + resources: + - endpointslices + verbs: + - list + - watch --- apiVersion: v1 kind: ConfigMap diff --git a/pkg/machinery/constants/constants.go b/pkg/machinery/constants/constants.go index 43b8ba7de..559aa77ab 100644 --- a/pkg/machinery/constants/constants.go +++ b/pkg/machinery/constants/constants.go @@ -233,7 +233,7 @@ const ( CoreDNSImage = "docker.io/coredns/coredns" // DefaultCoreDNSVersion is the default version for the CoreDNS. - DefaultCoreDNSVersion = "1.8.0" + DefaultCoreDNSVersion = "1.8.4" // LabelNodeRoleMaster is the node label required by a control plane node. LabelNodeRoleMaster = "node-role.kubernetes.io/master" diff --git a/website/content/docs/v0.11/Reference/configuration.md b/website/content/docs/v0.11/Reference/configuration.md index a591be76b..3f9d62ee9 100644 --- a/website/content/docs/v0.11/Reference/configuration.md +++ b/website/content/docs/v0.11/Reference/configuration.md @@ -1117,7 +1117,7 @@ Examples: ``` yaml coreDNS: - image: docker.io/coredns/coredns:1.8.0 # The `image` field is an override to the default coredns image. + image: docker.io/coredns/coredns:1.8.4 # The `image` field is an override to the default coredns image. ``` @@ -2221,7 +2221,7 @@ Appears in: ``` yaml -image: docker.io/coredns/coredns:1.8.0 # The `image` field is an override to the default coredns image. +image: docker.io/coredns/coredns:1.8.4 # The `image` field is an override to the default coredns image. ```