fix(deps): update module sigs.k8s.io/controller-runtime to v0.22.4
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| sigs.k8s.io/controller-runtime | v0.12.2 -> v0.22.4 |
Release Notes
kubernetes-sigs/controller-runtime (sigs.k8s.io/controller-runtime)
v0.22.4
What's Changed
- β¨ cache: Allow fine-granular SyncPeriod configuration by @βk8s-infra-cherrypick-robot in #β3378
- π Update List in namespaced client to list objects that are cluster scoped by @βk8s-infra-cherrypick-robot in #β3352 #β3357
- π priority queue: properly sync the waiter manipulation by @βalvaroaleman in #β3371
- π envtest: respect pre-configured binary paths in ControlPlane by @βk8s-infra-cherrypick-robot in #β3377
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.22.3...v0.22.4
v0.22.3
What's Changed
- [release-0.22] π Allow SSA after normal resource creation by @βk8s-infra-cherrypick-robot in #β3348
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.22.2...v0.22.3
v0.22.2
What's Changed
- π Panic when trying to build more than one instance of fake.ClientBuilder by @βk8s-infra-cherrypick-robot in #β3315
- π± Bump to k8s.io/* v0.34.1 by @βk8s-infra-cherrypick-robot in #β3317
- π Don't block on Get when queue is shutdown (2nd try) by @βk8s-infra-cherrypick-robot in #β3338
- π Fix a bug where the priorityqueue would sometimes not return high-priority items first by @βk8s-infra-cherrypick-robot in #β3340
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.22.1...v0.22.2
v0.22.1
What's Changed
- π± Revert deprecation of client.Apply by @βk8s-infra-cherrypick-robot in #β3308
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.22.0...v0.22.1
v0.22.0
π Highlights
- Client: Native support for Server-Side Apply (SSA) (#β3253, #β2981)
- Update to k8s.io/* v1.34 dependencies (#β3231, #β3236, #β3246, #β3259, #β3270, #β3300)
- Controller: Implement warmup support for controllers (#β3192)
- Priorityqueue: various improvements (#β3289, #β3290, #β3243, #β3250)
β οΈ Breaking changes
- Update to k8s.io/* v1.34 dependencies by @βalvaroaleman @βtroy0820 #β3231, #β3236, #β3246, #β3259, #β3270, #β3300
- Client: Add native SSA support by @βalvaroaleman in #β3253
- Client: Default selector to Nothing if it is nil for
MatchingLabelsSelectorandMatchingFieldsSelectorby @βacumino in #β3279 - Fakeclient: Add SSA support by @βalvaroaleman in #β2981
- Fakeclient: Remove support for objects with pointer ObjectMeta by @βalvaroaleman in #β3228
- Fakeclient: Clear TypeMeta for structured objects by @βalvaroaleman in #β3229
- Priorityqueue: Make Priority option a pointer by @βalvaroaleman in #β3289
β¨ Features
- Client: Add UnsafeDisableDeepCopy to GetOptions by @βjonathan-innis in #β3227
- Controller: Add a ReconciliationTimeout option by @βalvaroaleman in #β3296
- Controller: Implement warmup support for controllers by @βgodwinpang in #β3192
- Envtest: Allow selection of binaries version by release series by @βcbandy in #β3280
- Manager: Add support for custom labels on leader election leases by @βDerekFrank in #β3237
- Priorityqueue: WithLowPriorityWhenUnchanged: Set Priority for all add methods by @βalvaroaleman in #β3290
- Webhooks: Handle panics during conversion more gracefully by @βsbueringer in #β3278
π Bugfixes
- Envtest: Ensure cleanup validates etcd process state first by @βDanil-Grigorev in #β3272
- Envtest: Include listening address in kube-apiserver serving certificate by @βsolidDoWant in #β3284
- Fakeclient: Fix some SSA-related bugs by @βalvaroaleman in #β3268
- Fakeclient: Update passed object in Apply by @βalvaroaleman in #β3283
- Fakeclient: Validate managed fields on init objects by @βalvaroaleman in #β3282
- Manager: Prevent goroutine leak on shutdown timeout by @βjingyih in #β3247
- Priorityqueue: Don't block on Get when queue is shutdown by @βdongjiang1989 in #β3243
- Priorityqueue: Shutdown on shutdown by @βalvaroaleman in #β3250
- Unit tests: Fix ginkgo panic in webhook integration test by @βsbueringer in #β3288
- Unit tests: Fix race condition in Warmup unit test by @βsbueringer in #β3287
π± Other
- Certwatcher: Add instance-specific logger with cert/key k/v pair by @βs-z-z in #β3293
- Certwatcher: Don't require leader election by @βalvaroaleman in #β3273
- Examples-builtin: Refactor controller setup to use builder pattern by @βs-z-z in #β3265
- Fix deprecation warnings by @βsbueringer in #β3275
- Update golangci-lint to v2.3.0 by @βdongjiang1989 in #β3266
- Unit tests: Stop using context.Background()/TODO() in tests by @βalvaroaleman in #β3263
π Documentation
- Clarify our versioning scheme by @βalvaroaleman in #β3264
- Clarify state of Warmup feature by @βsbueringer in #β3299
- Extend godoc of SyncPeriod field by @βguettli in #β3269, #β3277
- Fix docs for LabelChangedPredicate by @βguettli in #β3254
- Make pod naming consistent in examples by @βclebs in #β3251
- Sync admins & maintainers with kubernetes/org by @βsbueringer in #β3258
Dependencies
Added
- github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp: v1.26.0
- github.com/envoyproxy/go-control-plane/envoy: v1.32.4
- github.com/envoyproxy/go-control-plane/ratelimit: v0.1.0
- github.com/go-jose/go-jose/v4: v4.0.4
- github.com/golang-jwt/jwt/v5: v5.2.2
- github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus: v1.0.1
- github.com/grpc-ecosystem/go-grpc-middleware/v2: v2.3.0
- github.com/spiffe/go-spiffe/v2: v2.5.0
- github.com/zeebo/errs: v1.4.0
- go.etcd.io/raft/v3: v3.6.0
- go.opentelemetry.io/contrib/detectors/gcp: v1.34.0
- go.opentelemetry.io/otel/sdk/metric: v1.34.0
- go.yaml.in/yaml/v2: v2.4.2
- go.yaml.in/yaml/v3: v3.0.4
- sigs.k8s.io/structured-merge-diff/v6: v6.3.0
Changed
- cel.dev/expr: v0.19.1 β v0.24.0
- cloud.google.com/go/compute/metadata: v0.5.0 β v0.6.0
- github.com/cncf/xds/go: b4127c9 β 2f00578
- github.com/cpuguy83/go-md2man/v2: v2.0.4 β v2.0.6
- github.com/emicklei/go-restful/v3: v3.11.0 β v3.12.2
- github.com/envoyproxy/go-control-plane: v0.13.0 β v0.13.4
- github.com/envoyproxy/protoc-gen-validate: v1.1.0 β v1.2.1
- github.com/fsnotify/fsnotify: v1.7.0 β v1.9.0
- github.com/fxamacker/cbor/v2: v2.7.0 β v2.9.0
- github.com/golang/glog: v1.2.2 β v1.2.4
- github.com/google/cel-go: v0.23.2 β v0.26.0
- github.com/google/gnostic-models: v0.6.9 β v0.7.0
- github.com/grpc-ecosystem/grpc-gateway/v2: v2.24.0 β v2.26.3
- github.com/jonboulle/clockwork: v0.4.0 β v0.5.0
- github.com/modern-go/reflect2: v1.0.2 β 35a7c28
- github.com/spf13/cobra: v1.8.1 β v1.9.1
- github.com/spf13/pflag: v1.0.5 β v1.0.6
- go.etcd.io/bbolt: v1.3.11 β v1.4.2
- go.etcd.io/etcd/api/v3: v3.5.21 β v3.6.4
- go.etcd.io/etcd/client/pkg/v3: v3.5.21 β v3.6.4
- go.etcd.io/etcd/client/v3: v3.5.21 β v3.6.4
- go.etcd.io/etcd/pkg/v3: v3.5.21 β v3.6.4
- go.etcd.io/etcd/server/v3: v3.5.21 β v3.6.4
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc: v0.58.0 β v0.60.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.33.0 β v1.34.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.33.0 β v1.34.0
- go.opentelemetry.io/otel/metric: v1.33.0 β v1.35.0
- go.opentelemetry.io/otel/sdk: v1.33.0 β v1.34.0
- go.opentelemetry.io/otel/trace: v1.33.0 β v1.35.0
- go.opentelemetry.io/otel: v1.33.0 β v1.35.0
- go.opentelemetry.io/proto/otlp: v1.4.0 β v1.5.0
- google.golang.org/genproto/googleapis/api:
e6fa225βa0af3ef - google.golang.org/genproto/googleapis/rpc:
e6fa225βa0af3ef - google.golang.org/grpc: v1.68.1 β v1.72.1
- k8s.io/api: v0.33.0 β v0.34.0
- k8s.io/apiextensions-apiserver: v0.33.0 β v0.34.0
- k8s.io/apimachinery: v0.33.0 β v0.34.0
- k8s.io/apiserver: v0.33.0 β v0.34.0
- k8s.io/client-go: v0.33.0 β v0.34.0
- k8s.io/code-generator: v0.33.0 β v0.34.0
- k8s.io/component-base: v0.33.0 β v0.34.0
- k8s.io/gengo/v2:
1244d31β85fd79d - k8s.io/kms: v0.33.0 β v0.34.0
- k8s.io/kube-openapi:
c8a335aβf3f2b99 - k8s.io/utils:
3ea5e8cβ4c0f3b2 - sigs.k8s.io/json:
9aa6b5eβcfa47c3 - sigs.k8s.io/yaml: v1.4.0 β v1.6.0
Removed
- github.com/census-instrumentation/opencensus-proto: v0.4.1
- github.com/golang-jwt/jwt/v4: v4.5.2
- github.com/grpc-ecosystem/go-grpc-middleware: v1.3.0
- github.com/grpc-ecosystem/grpc-gateway: v1.16.0
- go.etcd.io/etcd/client/v2: v2.305.21
- go.etcd.io/etcd/raft/v3: v3.5.21
- google.golang.org/genproto:
ef43131 - sigs.k8s.io/structured-merge-diff/v4: v4.6.0
New Contributors
- @βDerekFrank made their first contribution in #β3237
- @βclebs made their first contribution in #β3251
- @βjingyih made their first contribution in #β3247
- @βs-z-z made their first contribution in #β3265
- @βsolidDoWant made their first contribution in #β3284
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.21.0...v0.22.0
Thanks to all our contributors! π
v0.21.0
Highlights
- Bump to Kubernetes v1.33 libraries
- Improvements for priority queue (#β2374)
- envtest now has an option to download envtest binaries (can be used to replace setup-envtest depending on use case)
- Metric improvements: native histograms, all Go runtime metrics are enabled now
- Various bug fixes
- New reviewers: @βtroy0820, @βJoelSpeed!!
:warning: Breaking Changes
- Bump to k8s.io/* v0.33.0 and Go 1.24 (#β3104 #β3142 #β3161 #β3204 #β3215)
- config: Stop enabling client-side ratelimiter by default (#β3119)
- Previous behavior can be preserved by setting QPS 20 and Burst 30 on the rest.Config
- controller: NewUnmanaged/NewTypedUnmanaged: Stop requiring a manager (#β3141)
- reconcile: Deprecate
Result.Requeue(#β3107) - metrics: Expose all Go runtime metrics (#β3070)
:sparkles: New Features
- controller: priority queue:
- Add debug logging for the state of the priority queue (#β3075)
- Add priority label to queue depth metric (#β3156)
- Leverage IsInInitialList (#β3162)
- Remove redundant WithLowPriorityWhenUnchanged in builder (#β3168)
- Retain the priority after Reconcile (#β3167)
- Set priority automatically in handlers (#β3111 #β3152 #β3160 #β3174)
- envtest: Add Environment.KubeConfig field (#β2278)
- envtest: Add option to download envtest binaries (#β3135 #β3137)
- events: Add IsInInitialList to TypedCreateEvent (#β3162)
- log/zap: Enable panic log level (#β3186)
- logging: Adopt WarningHandlerWithContext (#β3176)
- logging: Improve logging by adopting contextual logging (#β3149)
- metrics: Adopt native histograms (#β3165)
:bug: Bug Fixes
- apiutil: restmapper: Respect preferred version (#β3151)
- builder: webhook: Fix custom path for webhook conflicts (#β3102)
- cache: Clone maps to prevent data races when concurrently creating caches using the same options (#β3078)
- cache: Stop accumulating lists in multi-namespace cache implementation (#β3195)
- cache: List out of global cache when present and necessary (#β3126)
- client: Return error if pagination is used with the cached client (#β3134)
- controller: Support WaitForSync in TypedSyncingSource (#β3084)
- controller: priority queue: Fix behavior of rate limit option in priorityqueue.AddWithOpts (#β3103)
- controller: priority queue: Yet another queue_depth metric fix (#β3085)
- controllerutil: CreateOrUpdate: Avoid panic when the MutateFn is nil (#β2828)
- envtest: Fix nil pointer exception in Stop() (#β3153)
- fake client: Fix data races when writing to the scheme (#β3143)
- fake client: Use k8s.io/apimachinery/pkg/util/json to unmarshal in fake client (#β3208)
- log/zap: Fix verbose info lost on KubeAwareEncoder.Clone (#β3209)
- logging: controller: Use fmt.Stringer from custom source for logging (if available) (#β3068)
- webhook: MultiMutatingHandler/MultiValidatingHandler: return warnings on webhook response (#β3223)
:seedling: Others
- Add troy0820 to reviewers (#β3099)
- Add JoelSpeed to reviewers (#β3097)
- client: Validate that unstructured objects don't require scheme registration (#β3138)
- controller: Mention the SkipNameValidation option in the name validation error (#β3170)
- docs: Clarify that controller-runtime is not a kubebuilder subproject (#β3185)
- envtest: Export envtest.ReadCRDFiles (#β3129)
- golangci-lint: Bump golangci-lint to v1.63.4 (#β3076)
- golangci-lint: Bump golangci-lint to v2.1.6 (#β3187)
- manager: Fix race in unit test (#β3150)
- setup-envtest: Add RELEASE_TAG to show binary version with version command (#β3166)
- setup-envtest: Fix Godoc for version.Version (#β3177)
- tests: Fix: make test fails with make: *** [Makefile:73: test] Error 1 (#β3125)
:book: Additionally, there have been 4 contributions to our documentation. (#β3116, #β3118, #β3169, #β3181, #β3193, #β3225)
Dependencies
Added
- github.com/klauspost/compress: v1.18.0
- github.com/kylelemons/godebug: v1.1.0
- github.com/planetscale/vtprotobuf: 0393e58
- go.opentelemetry.io/auto/sdk: v1.1.0
- gopkg.in/go-jose/go-jose.v2: v2.6.3
- sigs.k8s.io/randfill: v1.0.0
Changed
- cel.dev/expr: v0.18.0 β v0.19.1
- cloud.google.com/go/compute/metadata: v0.3.0 β v0.5.0
- github.com/cncf/xds/go: 555b57e β b4127c9
- github.com/coreos/go-oidc: v2.2.1+incompatible β v2.3.0+incompatible
- github.com/davecgh/go-spew: d8f796a β v1.1.1
- github.com/envoyproxy/go-control-plane: v0.12.0 β v0.13.0
- github.com/envoyproxy/protoc-gen-validate: v1.0.4 β v1.1.0
- github.com/evanphx/json-patch/v5: v5.9.0 β v5.9.11
- github.com/golang-jwt/jwt/v4: v4.5.0 β v4.5.2
- github.com/golang/glog: v1.2.1 β v1.2.2
- github.com/google/cel-go: v0.22.0 β v0.23.2
- github.com/google/gnostic-models: v0.6.8 β v0.6.9
- github.com/google/go-cmp: v0.6.0 β v0.7.0
- github.com/gorilla/websocket: v1.5.0 β e064f32
- github.com/grpc-ecosystem/grpc-gateway/v2: v2.20.0 β v2.24.0
- github.com/jessevdk/go-flags: v1.4.0 β v1.6.1
- github.com/onsi/ginkgo/v2: v2.21.0 β v2.22.0
- github.com/onsi/gomega: v1.35.1 β v1.36.1
- github.com/pmezard/go-difflib: 5d4384e β v1.0.0
- github.com/prometheus/client_golang: v1.19.1 β v1.22.0
- github.com/prometheus/common: v0.55.0 β v0.62.0
- github.com/rogpeppe/go-internal: v1.12.0 β v1.13.1
- github.com/stretchr/objx: v0.5.0 β v0.5.2
- github.com/stretchr/testify: v1.9.0 β v1.10.0
- go.etcd.io/etcd/api/v3: v3.5.16 β v3.5.21
- go.etcd.io/etcd/client/pkg/v3: v3.5.16 β v3.5.21
- go.etcd.io/etcd/client/v2: v2.305.16 β v2.305.21
- go.etcd.io/etcd/client/v3: v3.5.16 β v3.5.21
- go.etcd.io/etcd/pkg/v3: v3.5.16 β v3.5.21
- go.etcd.io/etcd/raft/v3: v3.5.16 β v3.5.21
- go.etcd.io/etcd/server/v3: v3.5.16 β v3.5.21
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc: v0.53.0 β v0.58.0
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp: v0.53.0 β v0.58.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.27.0 β v1.33.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.28.0 β v1.33.0
- go.opentelemetry.io/otel/metric: v1.28.0 β v1.33.0
- go.opentelemetry.io/otel/sdk: v1.28.0 β v1.33.0
- go.opentelemetry.io/otel/trace: v1.28.0 β v1.33.0
- go.opentelemetry.io/otel: v1.28.0 β v1.33.0
- go.opentelemetry.io/proto/otlp: v1.3.1 β v1.4.0
- golang.org/x/crypto: v0.28.0 β v0.36.0
- golang.org/x/net: v0.30.0 β v0.38.0
- golang.org/x/oauth2: v0.23.0 β v0.27.0
- golang.org/x/sync: v0.8.0 β v0.12.0
- golang.org/x/sys: v0.26.0 β v0.31.0
- golang.org/x/term: v0.25.0 β v0.30.0
- golang.org/x/text: v0.19.0 β v0.23.0
- golang.org/x/time: v0.7.0 β v0.9.0
- google.golang.org/genproto/googleapis/api:
f6391c0βe6fa225 - google.golang.org/genproto/googleapis/rpc:
f6391c0βe6fa225 - google.golang.org/grpc: v1.65.0 β v1.68.1
- google.golang.org/protobuf: v1.35.1 β v1.36.5
- k8s.io/api: v0.32.0 β v0.33.0
- k8s.io/apiextensions-apiserver: v0.32.0 β v0.33.0
- k8s.io/apimachinery: v0.32.0 β v0.33.0
- k8s.io/apiserver: v0.32.0 β v0.33.0
- k8s.io/client-go: v0.32.0 β v0.33.0
- k8s.io/code-generator: v0.32.0 β v0.33.0
- k8s.io/component-base: v0.32.0 β v0.33.0
- k8s.io/gengo/v2:
2b36238β1244d31 - k8s.io/kms: v0.32.0 β v0.33.0
- k8s.io/kube-openapi:
32ad38eβc8a335a - sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.31.0 β v0.31.2
- sigs.k8s.io/structured-merge-diff/v4: v4.4.2 β v4.6.0
Removed
- github.com/asaskevich/govalidator: f61b66f
- github.com/go-kit/log: v0.2.1
- github.com/go-logfmt/logfmt: v0.5.1
- google.golang.org/appengine: v1.6.7
- gopkg.in/square/go-jose.v2: v2.6.0
Thanks to all our contributors! π
v0.20.4
What's Changed
- :bug: Restmapper: Respect preferred version by @βk8s-infra-cherrypick-robot in #β3159
- π± Mention the SkipNameValidation option in the name validation error by @βk8s-infra-cherrypick-robot in #β3172
- :sparkles: Controller: Retain the priority by @βk8s-infra-cherrypick-robot in #β3173
- β¨Add RELEASE_TAG to tools/setup-envtest to show binary version with setup-envtest version by @βk8s-infra-cherrypick-robot in #β3175
- :seedling: Handlers: Default to LowPriorityWhenUnchanged without a wrapper by @βalvaroaleman in #β3179
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.20.3...v0.20.4
v0.20.3
What's Changed
- π fix: cache should list out of global cache when present and necessary by @βk8s-infra-cherrypick-robot in #β3127
- π± Export envtest.ReadCRDFiles by @βk8s-infra-cherrypick-robot in #β3131
- :bug: Fakeclient: Fix dataraces when writing to the scheme by @βk8s-infra-cherrypick-robot in #β3145
- Revert "β¨ Expose all Go runtime metrics" by @βalvaroaleman in #β3147
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.20.2...v0.20.3
v0.20.2
What's Changed
- β¨ Expose all Go runtime metrics by @βk8s-infra-cherrypick-robot in #β3100
- πFix behavior of rate limit option in priorityqueue.AddWithOpts by @βk8s-infra-cherrypick-robot in #β3106
- π± Update dependencies, k8s 1.32.1 by @βk8s-infra-cherrypick-robot in #β3108
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.20.1...v0.20.2
v0.20.1
What's Changed
- π Check to see if custom source implements fmt.Stringer when logging by @βk8s-infra-cherrypick-robot in #β3077
- π cache: clone maps to prevent data race when concurrently creating caches using the same options by @βk8s-infra-cherrypick-robot in #β3079
- π support WaitForSync in custom TypedSyncingSource by @βk8s-infra-cherrypick-robot in #β3086
- π± Add debug logging for the state of the priority queue by @βk8s-infra-cherrypick-robot in #β3088
- :bug: Priorityqueue: Yet another queue_depth metric fix by @βk8s-infra-cherrypick-robot in #β3089
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.20.0...v0.20.1
v0.20.0
Highlights
- Based on k8s.io/* v1.32 libraries and minimum Go version is now v1.23
- New experimental priority queue feature
- AggregatedDiscovery is automatically used when available (#β2901)
- As usual, many improvements to the fake client
Changes since v0.19.0
:warning: Breaking Changes
- Bump to k8s.io/* v1.32 libraries (#β2971 #β2990 #β3001 #β3007 #β3029 #β3043)
- logging: Stop deduplicating API warnings by default (#β2953)
- webhook: Stop deleting unknown fields in CustomDefaulter (#β2982 #β3056)
- webhook: Remove deprecated Defaulter and Validator (#β2877 #β2945)
- cluster: Remove deprecated SyncPeriod option (#β2970)
:sparkles: New Features
- cache: Add EnableWatchBookmarks option (defaults to true) (#β3017)
- cache: Export NewInformer option (#β3061)
- cert-watcher: Add polling (#β3020 #β3050)
- controller: Add experimental priority queue (off per default) (#β3013 #β3014 #β3060 #β3066)
- fake client: Allow adding indexes at runtime (#β3021)
- fake client: Add support for ServiceAccountToken subresource (#β2969)
- restmapper: Use AggregatedDiscovery if available (#β2901)
- util: Add HasOwnerReference func (#β2882)
- webhook: Add custom path option (#β2998)
:bug: Bug Fixes
- controller: Error when source.Start() never returns (#β2997 #β3006 #β3008)
- fake client: Don't return items on invalid selector (#β3022)
- fake client: Fix TOCTOU races (#β2980)
- fake client: Preserve TypeMeta during Get call with PartialObjectMeta (#β2949)
- fake client: Preserve TypeMeta during List call with UnstructuredList (#β3074)
- manager: Fix RenewDeadline typo in leader election (#β3032)
- manager: Use leader elector with client timeout (#β3028 #β3034)
:seedling: Others
- cache: Switch to Go 1.23+ stdlib
maps/slicespackages (#β3012) - controller: Log the syncing source when WaitForSync fails (#β3016)
- setup-envtest: drop support for GCS (#β2915)
- Some fixes for typos (#β3011 #β3033 #β2993)
:seedling: CI
- PR-verify: Verify PR titles with shell script (#β2944 #β2961 #β2964 #β2973)
- Remove gosec linter (#β3064)
- Upgrade golangci-lint to v1.61.0 (#β2950)
:book: Additionally, there have been 7 contributions to our documentation. (#β2942, #β2985, #β2996, #β3002, #β3039, #β3062)
Dependencies
Added
Nothing has changed.
Changed
- cel.dev/expr: v0.15.0 β v0.18.0
- github.com/Azure/go-ansiterm: d185dfc β 306776e
- github.com/go-openapi/jsonpointer: v0.19.6 β v0.21.0
- github.com/go-openapi/swag: v0.22.4 β v0.23.0
- github.com/google/btree: v1.0.1 β v1.1.3
- github.com/google/cel-go: v0.20.1 β v0.22.0
- github.com/google/pprof: 4bfdf5a β d1b30fe
- github.com/gregjones/httpcache: 9cad4c3 β 901d907
- github.com/jonboulle/clockwork: v0.2.2 β v0.4.0
- github.com/moby/spdystream: v0.4.0 β v0.5.0
- github.com/onsi/ginkgo/v2: v2.19.0 β v2.21.0
- github.com/onsi/gomega: v1.33.1 β v1.35.1
- github.com/stoewer/go-strcase: v1.2.0 β v1.3.0
- github.com/xiang90/probing: 43a291a β a49e3df
- go.etcd.io/bbolt: v1.3.9 β v1.3.11
- go.etcd.io/etcd/api/v3: v3.5.14 β v3.5.16
- go.etcd.io/etcd/client/pkg/v3: v3.5.14 β v3.5.16
- go.etcd.io/etcd/client/v2: v2.305.13 β v2.305.16
- go.etcd.io/etcd/client/v3: v3.5.14 β v3.5.16
- go.etcd.io/etcd/pkg/v3: v3.5.13 β v3.5.16
- go.etcd.io/etcd/raft/v3: v3.5.13 β v3.5.16
- go.etcd.io/etcd/server/v3: v3.5.13 β v3.5.16
- go.uber.org/zap: v1.26.0 β v1.27.0
- golang.org/x/crypto: v0.24.0 β v0.28.0
- golang.org/x/exp:
f3d0a9cβ8a7402a - golang.org/x/mod: v0.17.0 β v0.21.0
- golang.org/x/net: v0.26.0 β v0.30.0
- golang.org/x/oauth2: v0.21.0 β v0.23.0
- golang.org/x/sync: v0.7.0 β v0.8.0
- golang.org/x/sys: v0.21.0 β v0.26.0
- golang.org/x/telemetry:
f48c80bβbda5523 - golang.org/x/term: v0.21.0 β v0.25.0
- golang.org/x/text: v0.16.0 β v0.19.0
- golang.org/x/time: v0.3.0 β v0.7.0
- golang.org/x/tools:
e35e4ccβ v0.26.0 - golang.org/x/xerrors:
04be3ebβ5ec99f8 - google.golang.org/genproto/googleapis/api:
5315273βf6391c0 - google.golang.org/genproto/googleapis/rpc:
f6361c8βf6391c0 - google.golang.org/genproto:
b8732ecβef43131 - google.golang.org/protobuf: v1.34.2 β v1.35.1
- k8s.io/api: v0.31.0 β v0.32.0
- k8s.io/apiextensions-apiserver: v0.31.0 β v0.32.0
- k8s.io/apimachinery: v0.31.0 β v0.32.0
- k8s.io/apiserver: v0.31.0 β v0.32.0
- k8s.io/client-go: v0.31.0 β v0.32.0
- k8s.io/code-generator: v0.31.0 β v0.32.0
- k8s.io/component-base: v0.31.0 β v0.32.0
- k8s.io/gengo/v2:
51d4e06β2b36238 - k8s.io/kms: v0.31.0 β v0.32.0
- k8s.io/kube-openapi:
70dd376β32ad38e - k8s.io/utils:
18e509bβ3ea5e8c - sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.30.3 β v0.31.0
- sigs.k8s.io/json:
bc3834cβ9aa6b5e - sigs.k8s.io/structured-merge-diff/v4: v4.4.1 β v4.4.2
Removed
Thanks to all our contributors! π
v0.19.7
What's Changed
- π fix: cache should list out of global cache when present and necessary by @βk8s-infra-cherrypick-robot in #β3128
- :bug: Fakeclient: Fix dataraces when writing to the scheme by @βk8s-infra-cherrypick-robot in #β3146
- Revert "β¨ Expose all Go runtime metrics" by @βk8s-infra-cherrypick-robot in #β3148
Full Changelog: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.19.6...v0.19.7
Configuration
π Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
β Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
β» Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: go.sum
Command failed: go get -d -t ./...
go: downloading github.com/redhat-cop/operator-utils v1.3.4
go: downloading k8s.io/apiextensions-apiserver v0.29.0
go: downloading k8s.io/apimachinery v0.29.0
go: downloading k8s.io/client-go v0.29.0
go: downloading sigs.k8s.io/controller-runtime v0.17.2
go: downloading k8s.io/api v0.29.0
go: downloading github.com/onsi/ginkgo v1.16.5
go: downloading github.com/onsi/gomega v1.30.0
go: downloading github.com/evanphx/json-patch v5.6.0+incompatible
go: downloading k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00
go: downloading sigs.k8s.io/yaml v1.4.0
go: downloading github.com/go-logr/logr v1.4.1
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/nsf/jsondiff v0.0.0-20210926074059-1e845ec5d249
go: downloading github.com/scylladb/go-set v1.0.2
go: downloading k8s.io/kubectl v0.24.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b
go: downloading k8s.io/klog/v2 v2.110.1
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1
go: downloading github.com/go-logr/zapr v1.3.0
go: downloading go.uber.org/zap v1.26.0
go: downloading gomodules.xyz/jsonpatch/v2 v2.4.0
go: downloading github.com/google/gofuzz v1.2.0
go: downloading github.com/google/go-cmp v0.6.0
go: downloading golang.org/x/net v0.19.0
go: downloading github.com/evanphx/json-patch/v5 v5.8.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/BurntSushi/toml v0.4.1
go: downloading github.com/Masterminds/sprig/v3 v3.2.2
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/golang/protobuf v1.5.3
go: downloading github.com/google/gnostic-models v0.6.8
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading golang.org/x/time v0.3.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e
go: downloading github.com/google/gnostic v0.5.7-v3refs
go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
go: downloading golang.org/x/oauth2 v0.12.0
go: downloading github.com/json-iterator/go v1.1.12
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/fsnotify/fsnotify v1.7.0
go: downloading github.com/prometheus/client_golang v1.18.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/nxadm/tail v1.4.8
go: downloading golang.org/x/sys v0.16.0
go: downloading golang.org/x/term v0.15.0
go: downloading github.com/Masterminds/goutils v1.1.1
go: downloading github.com/Masterminds/semver/v3 v3.1.1
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/huandu/xstrings v1.3.1
go: downloading github.com/imdario/mergo v0.3.12
go: downloading github.com/mitchellh/copystructure v1.0.0
go: downloading github.com/shopspring/decimal v1.2.0
go: downloading github.com/spf13/cast v1.3.1
go: downloading golang.org/x/crypto v0.16.0
go: downloading github.com/go-openapi/swag v0.22.3
go: downloading github.com/go-openapi/jsonreference v0.20.2
go: downloading google.golang.org/protobuf v1.31.0
go: downloading k8s.io/component-base v0.29.0
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.2.0
go: downloading github.com/prometheus/client_model v0.5.0
go: downloading github.com/prometheus/common v0.45.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: downloading golang.org/x/text v0.14.0
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/mitchellh/reflectwalk v1.0.0
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/go-openapi/jsonpointer v0.19.6
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading google.golang.org/appengine v1.6.7
go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.4
go: downloading github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/emicklei/go-restful v2.9.5+incompatible
go: downloading github.com/emicklei/go-restful/v3 v3.11.0
go: github.com/redhat-cop/patch-operator/api/v1alpha1 tested by
github.com/redhat-cop/patch-operator/api/v1alpha1.test imports
sigs.k8s.io/controller-runtime/pkg/envtest/printer: cannot find module providing package sigs.k8s.io/controller-runtime/pkg/envtest/printer
β οΈ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
β» Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: go.sum
Command failed: go get -d -t ./...
go: module sigs.k8s.io/[email protected] requires go >= 1.24.0; switching to go1.24.3
go: downloading go1.24.3 (linux/amd64)
go: download go1.24.3: golang.org/[email protected]: verifying module: checksum database disabled by GOSUMDB=off