mirror of
https://github.com/siderolabs/talos.git
synced 2025-12-04 00:51:16 +01:00
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>
20 lines
710 B
Go
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
|
|
}
|