From d81d4900030e93cacda34646732f24816dd3d85f Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Tue, 27 Feb 2024 16:15:10 +0400 Subject: [PATCH] chore: update CoreDNS renovate source As we're using a mirrored image from `registry.k8s.io`, use that as a source instead of GitHub. Mirrored image appears with some delay after an official CoreDNS release. Signed-off-by: Andrey Smirnov --- cmd/installer/pkg/install/install.go | 4 ++-- pkg/machinery/constants/constants.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/installer/pkg/install/install.go b/cmd/installer/pkg/install/install.go index e9fb0f7288..351bab709f 100644 --- a/cmd/installer/pkg/install/install.go +++ b/cmd/installer/pkg/install/install.go @@ -10,12 +10,12 @@ import ( "fmt" "log" "os" + "syscall" "time" "github.com/siderolabs/go-blockdevice/blockdevice" "github.com/siderolabs/go-procfs/procfs" "github.com/siderolabs/go-retry/retry" - "golang.org/x/sys/unix" "github.com/siderolabs/talos/internal/app/machined/pkg/runtime" "github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/board" @@ -385,7 +385,7 @@ func retryBlockdeviceOpen(device string) (*blockdevice.BlockDevice, error) { switch { case os.IsNotExist(openErr): return retry.ExpectedError(openErr) - case errors.Is(openErr, unix.ENODEV): + case errors.Is(openErr, syscall.ENODEV): return retry.ExpectedError(openErr) default: return nil diff --git a/pkg/machinery/constants/constants.go b/pkg/machinery/constants/constants.go index bbf8052038..d2185476e6 100644 --- a/pkg/machinery/constants/constants.go +++ b/pkg/machinery/constants/constants.go @@ -371,7 +371,7 @@ const ( CoreDNSImage = "registry.k8s.io/coredns/coredns" // DefaultCoreDNSVersion is the default version for the CoreDNS. - // renovate: datasource=github-releases depName=coredns/coredns + // renovate: datasource=docker depName=registry.k8s.io/coredns/coredns DefaultCoreDNSVersion = "v1.11.1" // LabelNodeRoleControlPlane is the node label required by a control plane node.