Andrey Smirnov f4bfbbbf56
chore: bump dependencies
No major bumps, except for CoreDNS 1.12.1, mostly updating Go modules.

Update pkgs/tools to final v1.10.0 versions.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-04-14 16:46:41 +04:00

20 lines
710 B
Go

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
// Package k8s provides controllers which manage Kubernetes resources.
package k8s
import (
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
)
// CloudProviderExternal is a constant for the external cloud provider.
const CloudProviderExternal = "external"
func init() {
// ugly hack, but it doesn't look like there's better API
// cut out error handler which logs error to standard logger
utilruntime.ErrorHandlers = utilruntime.ErrorHandlers[len(utilruntime.ErrorHandlers)-1:] //nolint:reassign
}