From 2292f36d970d3edcf39b5d5f12d0051d7d75f390 Mon Sep 17 00:00:00 2001 From: Eirik Askheim Date: Fri, 26 May 2023 18:54:11 +0200 Subject: [PATCH] chore: registry.k8s.io for coredns image Replace docker.io with registry.k8s.io for the coredns image. Signed-off-by: Eirik Askheim Signed-off-by: Andrey Smirnov --- pkg/machinery/constants/constants.go | 4 ++-- website/content/v1.5/reference/configuration.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/machinery/constants/constants.go b/pkg/machinery/constants/constants.go index 737c564b5..97e3309fd 100644 --- a/pkg/machinery/constants/constants.go +++ b/pkg/machinery/constants/constants.go @@ -325,11 +325,11 @@ const ( KubernetesSchedulerImage = "registry.k8s.io/kube-scheduler" // CoreDNSImage is the enforced CoreDNS image to use. - CoreDNSImage = "docker.io/coredns/coredns" + CoreDNSImage = "registry.k8s.io/coredns/coredns" // DefaultCoreDNSVersion is the default version for the CoreDNS. // renovate: datasource=github-releases depName=coredns/coredns - DefaultCoreDNSVersion = "1.10.1" + DefaultCoreDNSVersion = "v1.10.1" // LabelNodeRoleControlPlane is the node label required by a control plane node. LabelNodeRoleControlPlane = "node-role.kubernetes.io/control-plane" diff --git a/website/content/v1.5/reference/configuration.md b/website/content/v1.5/reference/configuration.md index 0f01f2ab7..a2d8a8490 100644 --- a/website/content/v1.5/reference/configuration.md +++ b/website/content/v1.5/reference/configuration.md @@ -611,7 +611,7 @@ etcd: {{< /highlight >}} | | |`coreDNS` |CoreDNS |Core DNS specific configuration options.
Show example(s){{< highlight yaml >}} coreDNS: - image: docker.io/coredns/coredns:1.10.1 # The `image` field is an override to the default coredns image. + image: registry.k8s.io/coredns/coredns:v1.10.1 # The `image` field is an override to the default coredns image. {{< /highlight >}}
| | |`externalCloudProvider` |ExternalCloudProviderConfig |External cloud provider configuration.
Show example(s){{< highlight yaml >}} externalCloudProvider: @@ -1319,7 +1319,7 @@ Appears in: {{< highlight yaml >}} -image: docker.io/coredns/coredns:1.10.1 # The `image` field is an override to the default coredns image. +image: registry.k8s.io/coredns/coredns:v1.10.1 # The `image` field is an override to the default coredns image. {{< /highlight >}}