mirror of
https://github.com/siderolabs/talos.git
synced 2025-11-05 10:51:56 +01:00
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 <andrey.smirnov@siderolabs.com>
This commit is contained in:
parent
b2ad5dc5f8
commit
d81d490003
@ -10,12 +10,12 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/siderolabs/go-blockdevice/blockdevice"
|
"github.com/siderolabs/go-blockdevice/blockdevice"
|
||||||
"github.com/siderolabs/go-procfs/procfs"
|
"github.com/siderolabs/go-procfs/procfs"
|
||||||
"github.com/siderolabs/go-retry/retry"
|
"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"
|
||||||
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/board"
|
"github.com/siderolabs/talos/internal/app/machined/pkg/runtime/v1alpha1/board"
|
||||||
@ -385,7 +385,7 @@ func retryBlockdeviceOpen(device string) (*blockdevice.BlockDevice, error) {
|
|||||||
switch {
|
switch {
|
||||||
case os.IsNotExist(openErr):
|
case os.IsNotExist(openErr):
|
||||||
return retry.ExpectedError(openErr)
|
return retry.ExpectedError(openErr)
|
||||||
case errors.Is(openErr, unix.ENODEV):
|
case errors.Is(openErr, syscall.ENODEV):
|
||||||
return retry.ExpectedError(openErr)
|
return retry.ExpectedError(openErr)
|
||||||
default:
|
default:
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
@ -371,7 +371,7 @@ const (
|
|||||||
CoreDNSImage = "registry.k8s.io/coredns/coredns"
|
CoreDNSImage = "registry.k8s.io/coredns/coredns"
|
||||||
|
|
||||||
// DefaultCoreDNSVersion is the default version for the 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"
|
DefaultCoreDNSVersion = "v1.11.1"
|
||||||
|
|
||||||
// LabelNodeRoleControlPlane is the node label required by a control plane node.
|
// LabelNodeRoleControlPlane is the node label required by a control plane node.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user