Update kubernetes vendor to 0.22.5

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2022-01-19 11:20:35 -08:00
parent 5089b12100
commit 2898004a5b
157 changed files with 2984 additions and 12220 deletions

View File

@@ -1,17 +0,0 @@
# See the OWNERS docs at https://go.k8s.io/owners
# Currently assigned to api-approvers since feature gates are the API
# for enabling/disabling other APIs.
# Disable inheritance as this is an api owners file
options:
no_parent_owners: true
approvers:
- api-approvers
reviewers:
- api-reviewers
labels:
- kind/api-change
- sig/api-machinery
- sig/cluster-lifecycle

View File

@@ -44,9 +44,9 @@ var (
)
func init() {
//nolint:staticcheck // SA1019 - replacement function still calls prometheus.NewProcessCollector().
//lint:ignore SA1019 - replacement function still calls prometheus.NewProcessCollector().
RawMustRegister(prometheus.NewProcessCollector(prometheus.ProcessCollectorOpts{}))
//nolint:staticcheck // SA1019 - replacement function still calls prometheus.NewGoCollector().
//lint:ignore SA1019 - replacement function still calls prometheus.NewGoCollector().
RawMustRegister(prometheus.NewGoCollector())
}

View File

@@ -1,4 +1,3 @@
//go:build !windows
// +build !windows
/*

View File

@@ -1,4 +1,3 @@
//go:build windows
// +build windows
/*

View File

@@ -274,7 +274,7 @@ func (kr *kubeRegistry) enableHiddenCollectors() {
cs = append(cs, c)
}
kr.hiddenCollectors = make(map[string]Registerable)
kr.hiddenCollectors = nil
kr.hiddenCollectorsLock.Unlock()
kr.MustRegister(cs...)
}

View File

@@ -1,17 +0,0 @@
# See the OWNERS docs at https://go.k8s.io/owners
# Currently assigned this directory to sig-api-machinery since this is
# an interface to the version definition in "k8s.io/apimachinery/pkg/version",
# and also to sig-release since this version information is set up for
# each release.
approvers:
- sig-api-machinery-api-approvers
- release-engineering-approvers
reviewers:
- sig-api-machinery-api-reviewers
- release-managers
labels:
- sig/api-machinery
- sig/release