Skip to content

Commit

Permalink
chore: update CoreDNS renovate source
Browse files Browse the repository at this point in the history
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 <andrey.smirnov@siderolabs.com>
  • Loading branch information
smira committed Feb 27, 2024
1 parent b2ad5dc commit d81d490
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/installer/pkg/install/install.go
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/machinery/constants/constants.go
Expand Up @@ -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.
Expand Down

0 comments on commit d81d490

Please sign in to comment.