Open renovate[bot] opened 3 months ago
In order to perform the update(s) described in the table above, Renovate ran the go get
command, which resulted in the following additional change(s):
go
directive was updated for compatibility reasonsDetails:
Package | Change |
---|---|
go |
1.21.6 -> 1.23.1 |
k8s.io/api |
v0.26.3 -> v0.31.0 |
k8s.io/apimachinery |
v0.27.3 -> v0.31.0 |
k8s.io/client-go |
v0.26.3 -> v0.31.0 |
github.com/cespare/xxhash/v2 |
v2.1.2 -> v2.3.0 |
github.com/davecgh/go-spew |
v1.1.1 -> v1.1.2-0.20180830191138-d8f796af33cc |
github.com/emicklei/go-restful/v3 |
v3.10.1 -> v3.11.0 |
github.com/evanphx/json-patch/v5 |
v5.6.0 -> v5.9.0 |
github.com/fsnotify/fsnotify |
v1.6.0 -> v1.7.0 |
github.com/go-logr/logr |
v1.2.3 -> v1.4.2 |
github.com/go-openapi/jsonreference |
v0.20.1 -> v0.20.2 |
github.com/go-openapi/swag |
v0.22.3 -> v0.22.4 |
github.com/golang/protobuf |
v1.5.3 -> v1.5.4 |
github.com/google/uuid |
v1.3.0 -> v1.6.0 |
github.com/prometheus/client_golang |
v1.14.0 -> v1.19.1 |
github.com/prometheus/client_model |
v0.3.0 -> v0.6.1 |
github.com/prometheus/common |
v0.37.0 -> v0.55.0 |
github.com/prometheus/procfs |
v0.8.0 -> v0.15.1 |
github.com/rogpeppe/go-internal |
v1.10.0 -> v1.12.0 |
golang.org/x/net |
v0.17.0 -> v0.26.0 |
golang.org/x/oauth2 |
v0.2.0 -> v0.21.0 |
golang.org/x/sys |
v0.13.0 -> v0.21.0 |
gomodules.xyz/jsonpatch/v2 |
v2.2.0 -> v2.4.0 |
google.golang.org/protobuf |
v1.28.1 -> v1.34.2 |
k8s.io/apiextensions-apiserver |
v0.26.1 -> v0.31.0 |
k8s.io/component-base |
v0.26.1 -> v0.31.0 |
k8s.io/klog/v2 |
v2.90.1 -> v2.130.1 |
k8s.io/kube-openapi |
v0.0.0-20230501164219-8b0f38b5fd1f -> v0.0.0-20240228011516-70dd3763d340 |
sigs.k8s.io/structured-merge-diff/v4 |
v4.2.3 -> v4.4.1 |
This PR contains the following updates:
v0.14.6
->v0.19.0
Release Notes
kubernetes-sigs/controller-runtime (sigs.k8s.io/controller-runtime)
### [`v0.19.0`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.19.0) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.5...v0.19.0) #### :warning: Deprecation Warnings Please note that `admission.Defaulter/Validator` have been deprecated in favor of `admission.CustomDefaulter/CustomValidator` since v0.17 and will be removed with v0.20. #### :warning: Breaking Changes - Bump to k8s.io/\* v1.31 ([#2798](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2798) [#2858](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2858) [#2867](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2867) [#2872](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2872) [#2883](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2883) [#2900](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2900) [#2906](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2906) [#2924](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2924)) - Add generic TypedReconciler ([#2799](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2799)) - client: Remove options.WarningHandler ([#2887](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2887) [#2903](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2903)) - controller: Validate controller names are unique & add SkipNameValidation option ([#2902](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2902) [#2918](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2918)) #### :sparkles: New Features - client: Add WithFieldValidation client ([#2860](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2860) [#2913](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2913)) - controller & webhook: Recover panics per default & add panic metrics ([#2905](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2905)) - controllerutil: configure BlockOwnerDeletion when setting OwnerReference ([#2847](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2847)) - fake client: Add scale subresource logic ([#2855](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2855)) - predicate: Add missing generic version of ResourceVersionChangedPredicate ([#2812](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2812)) - setup-envtest: Download binaries from controller-tools releases instead of GCS ([#2811](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2811)) - setup-envtest: Publish setup-envtest binaries via release attachments ([#2911](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2911)) - workqueue: Add `controller` label to workqueue metrics ([#2895](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2895)) #### :bug: Bug Fixes - apiutil.IsGVKNamespaced: Fix namespaced GVK check to use version ([#2875](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2875)) - cache: Fix label defaulting of byObject when namespaces are configured ([#2805](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2805)) - certwatcher: Recreate watcher if the file is unlinked and replaced ([#2893](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2893)) - manager: Fix log in AddMetricsServerExtraHandler ([#2874](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2874)) - manager: Quiet context.Canceled errors during shutdown ([#2745](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2745)) - manager: Reintroduce AddMetricsServerExtraHandler ([#2813](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2813)) - manager.Start: Prevent LeaderElector setup error from being swallowed ([#2876](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2876)) - source.Kind: String() should return correct type ([#2806](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2806)) #### :seedling: Others - actions: Add action to approve actions if /ok-to-test is set ([#2908](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2908)) - controller: Add dynamic watcher tests ([#2881](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2881)) - dependabot: disable go module bumps, bump all actions in a single PR ([#2856](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2856)) - verify-modules: Verify go modules are in sync with upstream k/k ([#2774](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2774)) :book: Additionally, there have been 5 contributions to our documentation. ([#2830](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2830), [#2849](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2849), [#2863](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2863), [#2894](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2894), [#2899](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2899), [#2910](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2910)) #### Dependencies ##### Added - cel.dev/expr: v0.15.0 - github.com/antlr4-go/antlr/v4: [v4.13.0](https://togithub.com/antlr4-go/antlr/tree/v4.13.0) - github.com/cpuguy83/go-md2man/v2: [v2.0.4](https://togithub.com/cpuguy83/go-md2man/tree/v2.0.4) - github.com/go-task/slim-sprig/v3: [v3.0.0](https://togithub.com/go-task/slim-sprig/tree/v3.0.0) - github.com/russross/blackfriday/v2: [v2.1.0](https://togithub.com/russross/blackfriday/tree/v2.1.0) - gopkg.in/evanphx/json-patch.v4: v4.12.0 ##### Changed - cloud.google.com/go/compute/metadata: v0.2.3 → v0.3.0 - github.com/alecthomas/kingpin/v2: [v2.3.2 → v2.4.0](https://togithub.com/alecthomas/kingpin/compare/v2.3.2...v2.4.0) - github.com/cenkalti/backoff/v4: [v4.2.1 → v4.3.0](https://togithub.com/cenkalti/backoff/compare/v4.2.1...v4.3.0) - github.com/cespare/xxhash/v2: [v2.2.0 → v2.3.0](https://togithub.com/cespare/xxhash/compare/v2.2.0...v2.3.0) - github.com/chzyer/readline: [2972be2 → v1.5.1](https://togithub.com/chzyer/readline/compare/2972be2...v1.5.1) - github.com/cncf/xds/go: [e9ce688 → 555b57e](https://togithub.com/cncf/xds/compare/e9ce688...555b57e) - github.com/davecgh/go-spew: [v1.1.1 → d8f796a](https://togithub.com/davecgh/go-spew/compare/v1.1.1...d8f796a) - github.com/envoyproxy/go-control-plane: [v0.11.1 → v0.12.0](https://togithub.com/envoyproxy/go-control-plane/compare/v0.11.1...v0.12.0) - github.com/envoyproxy/protoc-gen-validate: [v1.0.2 → v1.0.4](https://togithub.com/envoyproxy/protoc-gen-validate/compare/v1.0.2...v1.0.4) - github.com/evanphx/json-patch: [v4.12.0+incompatible → v0.5.2](https://togithub.com/evanphx/json-patch/compare/v4.12.0...v0.5.2) - github.com/felixge/httpsnoop: [v1.0.3 → v1.0.4](https://togithub.com/felixge/httpsnoop/compare/v1.0.3...v1.0.4) - github.com/fxamacker/cbor/v2: [v2.6.0 → v2.7.0](https://togithub.com/fxamacker/cbor/compare/v2.6.0...v2.7.0) - github.com/go-logr/logr: [v1.4.1 → v1.4.2](https://togithub.com/go-logr/logr/compare/v1.4.1...v1.4.2) - github.com/go-openapi/swag: [v0.22.3 → v0.22.4](https://togithub.com/go-openapi/swag/compare/v0.22.3...v0.22.4) - github.com/golang/glog: [v1.1.0 → v1.2.1](https://togithub.com/golang/glog/compare/v1.1.0...v1.2.1) - github.com/google/cel-go: [v0.17.8 → v0.20.1](https://togithub.com/google/cel-go/compare/v0.17.8...v0.20.1) - github.com/google/pprof: [4bb14d4 → 4bfdf5a](https://togithub.com/google/pprof/compare/4bb14d4...4bfdf5a) - github.com/google/uuid: [v1.3.0 → v1.6.0](https://togithub.com/google/uuid/compare/v1.3.0...v1.6.0) - github.com/grpc-ecosystem/grpc-gateway/v2: [v2.16.0 → v2.20.0](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.16.0...v2.20.0) - github.com/ianlancetaylor/demangle: [28f6c0f → bd984b5](https://togithub.com/ianlancetaylor/demangle/compare/28f6c0f...bd984b5) - github.com/matttproud/golang_protobuf_extensions: [v1.0.4 → v1.0.1](https://togithub.com/matttproud/golang_protobuf_extensions/compare/v1.0.4...v1.0.1) - github.com/moby/spdystream: [v0.2.0 → v0.4.0](https://togithub.com/moby/spdystream/compare/v0.2.0...v0.4.0) - github.com/moby/term: [1aeaba8 → v0.5.0](https://togithub.com/moby/term/compare/1aeaba8...v0.5.0) - github.com/onsi/ginkgo/v2: [v2.17.1 → v2.19.0](https://togithub.com/onsi/ginkgo/compare/v2.17.1...v2.19.0) - github.com/onsi/gomega: [v1.32.0 → v1.33.1](https://togithub.com/onsi/gomega/compare/v1.32.0...v1.33.1) - github.com/pmezard/go-difflib: [v1.0.0 → 5d4384e](https://togithub.com/pmezard/go-difflib/compare/v1.0.0...5d4384e) - github.com/prometheus/client_golang: [v1.16.0 → v1.19.1](https://togithub.com/prometheus/client_golang/compare/v1.16.0...v1.19.1) - github.com/prometheus/client_model: [v0.4.0 → v0.6.1](https://togithub.com/prometheus/client_model/compare/v0.4.0...v0.6.1) - github.com/prometheus/common: [v0.44.0 → v0.55.0](https://togithub.com/prometheus/common/compare/v0.44.0...v0.55.0) - github.com/prometheus/procfs: [v0.12.0 → v0.15.1](https://togithub.com/prometheus/procfs/compare/v0.12.0...v0.15.1) - github.com/rogpeppe/go-internal: [v1.10.0 → v1.12.0](https://togithub.com/rogpeppe/go-internal/compare/v1.10.0...v1.12.0) - github.com/sirupsen/logrus: [v1.9.0 → v1.9.3](https://togithub.com/sirupsen/logrus/compare/v1.9.0...v1.9.3) - github.com/spf13/cobra: [v1.7.0 → v1.8.1](https://togithub.com/spf13/cobra/compare/v1.7.0...v1.8.1) - github.com/stretchr/testify: [v1.8.4 → v1.9.0](https://togithub.com/stretchr/testify/compare/v1.8.4...v1.9.0) - go.etcd.io/bbolt: v1.3.8 → v1.3.9 - go.etcd.io/etcd/api/v3: v3.5.10 → v3.5.14 - go.etcd.io/etcd/client/pkg/v3: v3.5.10 → v3.5.14 - go.etcd.io/etcd/client/v2: v2.305.10 → v2.305.13 - go.etcd.io/etcd/client/v3: v3.5.10 → v3.5.14 - go.etcd.io/etcd/pkg/v3: v3.5.10 → v3.5.13 - go.etcd.io/etcd/raft/v3: v3.5.10 → v3.5.13 - go.etcd.io/etcd/server/v3: v3.5.10 → v3.5.13 - go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc: v0.42.0 → v0.53.0 - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp: v0.44.0 → v0.53.0 - go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc: v1.19.0 → v1.27.0 - go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.19.0 → v1.28.0 - go.opentelemetry.io/otel/metric: v1.19.0 → v1.28.0 - go.opentelemetry.io/otel/sdk: v1.19.0 → v1.28.0 - go.opentelemetry.io/otel/trace: v1.19.0 → v1.28.0 - go.opentelemetry.io/otel: v1.19.0 → v1.28.0 - go.opentelemetry.io/proto/otlp: v1.0.0 → v1.3.1 - golang.org/x/crypto: v0.21.0 → v0.24.0 - golang.org/x/exp: [`a9213ee`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/a9213ee) → [`f3d0a9c`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f3d0a9c) - golang.org/x/mod: v0.15.0 → v0.17.0 - golang.org/x/net: v0.23.0 → v0.26.0 - golang.org/x/oauth2: v0.12.0 → v0.21.0 - golang.org/x/sync: v0.6.0 → v0.7.0 - golang.org/x/sys: v0.18.0 → v0.21.0 - golang.org/x/telemetry: [`b75ee88`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b75ee88) → [`f48c80b`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f48c80b) - golang.org/x/term: v0.18.0 → v0.21.0 - golang.org/x/text: v0.14.0 → v0.16.0 - golang.org/x/tools: v0.18.0 → [`e35e4cc`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/e35e4cc) - google.golang.org/genproto/googleapis/api: [`23370e0`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/23370e0) → [`5315273`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/5315273) - google.golang.org/genproto/googleapis/rpc: [`b8732ec`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b8732ec) → [`f6361c8`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f6361c8) - google.golang.org/genproto: [`f966b18`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f966b18) → [`b8732ec`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b8732ec) - google.golang.org/grpc: v1.58.3 → v1.65.0 - google.golang.org/protobuf: v1.33.0 → v1.34.2 - k8s.io/api: v0.30.0 → v0.31.0 - k8s.io/apiextensions-apiserver: v0.30.0 → v0.31.0 - k8s.io/apimachinery: v0.30.0 → v0.31.0 - k8s.io/apiserver: v0.30.0 → v0.31.0 - k8s.io/client-go: v0.30.0 → v0.31.0 - k8s.io/code-generator: v0.30.0 → v0.31.0 - k8s.io/component-base: v0.30.0 → v0.31.0 - k8s.io/klog/v2: v2.120.1 → v2.130.1 - k8s.io/kms: v0.30.0 → v0.31.0 - k8s.io/utils: [`3b25d92`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/3b25d92) → [`18e509b`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/18e509b) - sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.29.0 → v0.30.3 - sigs.k8s.io/yaml: v1.3.0 → v1.4.0 ##### Removed - cloud.google.com/go/compute: v1.21.0 - github.com/antlr/antlr4/runtime/Go/antlr/v4: [8188dc5](https://togithub.com/antlr/antlr4/tree/runtime/Go/antlr/v4/8188dc5) - github.com/chzyer/logex: [v1.1.10](https://togithub.com/chzyer/logex/tree/v1.1.10) - github.com/chzyer/test: [a1ea475](https://togithub.com/chzyer/test/tree/a1ea475) - github.com/cncf/udpa/go: [c52dc94](https://togithub.com/cncf/udpa/tree/c52dc94) - github.com/go-task/slim-sprig: [52ccab3](https://togithub.com/go-task/slim-sprig/tree/52ccab3) *Thanks to all our contributors!* 😊 ### [`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5) #### What's Changed - :bug: Suppress API server warnings in the client by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890) - :bug: AddMetricsServerExtraHandler: Info takes key/value pairs by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917) - 🐛 Recreate watcher if the file unlinked and replaced by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5 ### [`v0.18.4`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.4) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.3...v0.18.4) #### What's Changed - \[release-0.18] ✨ controllerutil: configure BlockOwnerDeletion when setting OwnerReference by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2848](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2848) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.18.3...v0.18.4 ### [`v0.18.3`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.3) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.2...v0.18.3) #### What's Changed - ✨ setup-envtest: download binaries from controller-tools releases by [@sbueringer](https://togithub.com/sbueringer) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2837](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2837) - 🌱 Bump k8s.io/\* to v0.30.1 by [@sbueringer](https://togithub.com/sbueringer) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2840](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2840) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.18.2...v0.18.3 ### [`v0.18.2`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.2) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.1...v0.18.2) ##### What's Changed - 🐛 Reintroduce AddMetricsServerExtraHandler on manager by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2817](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2817) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.18.1...v0.18.2 ### [`v0.18.1`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.1) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.0...v0.18.1) ##### What's Changed - \[release-0.18] :bug: Cache: Fix label defaulting of byObject when namespaces are configured by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2808](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2808) - \[release-0.18] 🐛 correct kind source type by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2809](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2809) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.18.0...v0.18.1 ### [`v0.18.0`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.0) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.6...v0.18.0) #### :warning: Breaking Changes - Bump to k8s.io/\* v1.30 ([#2693](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2693) [#2754](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2754) [#2765](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2765) [#2776](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2776) [#2786](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2786)) - Remove deprecated v1alpha1.ControllerManagerConfiguration ([#2648](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2648)) - admission.Decoder is now an interface ([#2736](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2736)) - Source, Event, Predicate, Handler: Add generics support ([#2783](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2783) [#2796](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2796)) - client: Fix SubResourceCreateOptions signature in subresource client ([#2766](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2766)) #### :sparkles: New Features - cache: Add TransformStripManagedFields transform func ([#2791](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2791)) - client: Add client.WithFieldOwner to configure client-wide FieldManager ([#2771](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2771) [#2777](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2777)) - controller: Add `NewQueue` option ([#2767](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2767)) - manager: Export HTTP server runnable implementation ([#2473](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2473)) - metrics/server: Add `ListenConfig` option ([#2519](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2519)) #### :bug: Bug Fixes - builder/webhook: Return error if For() is used multiple times ([#2740](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2740)) - cache: Keep selectors when byObject.Namespaces is defaulted ([#2747](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2747)) - cache: Prevent race when informers are started more than once ([#2758](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2758)) - fake client: Allow fakeclient to patch CR with no resourceVersion ([#2725](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2725)) - fake client: Do not consider an apply patch to be a strategic merge patch ([#2679](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2679)) - manager: Prevent leader election when shutting down a non-elected manager ([#2724](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2724)) - manager: Runnable group should check if stopped before enqueueing ([#2757](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2757)) - restmapper: Clean restmapper cache if a version is notFound ([#2663](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2663)) - restmapper: Fix cache invalidation ([#2687](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2687)) #### :seedling: Others - ci: Add OSSF scorecard action ([#2714](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2714)) - ci: Improve github actions dependencies versions and permissions ([#2715](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2715)) - ci: Pin checkout action in golangci-lint action, bump checkout action, use consistent tag format ([#2729](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2729)) - ci: Update golangci-lint to v1.57.2 ([#2708](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2708) [#2751](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2751)) - ci: Update scorecard github action ([#2728](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2728)) - ci: Use go-install for versioned dependencies ([#2710](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2710)) - envtest: WaitForDefaultNamespace while starting up envtest ([#2668](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2668)) - owners: Cleanup owners files ([#2730](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2730)) - owners: Remove outdated testing framework approvers ([#2709](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2709)) - predicate: Compare labels and annotations using maps.Equal ([#2705](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2705)) - typos: Fix typo of CacheReader comment ([#2773](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2773)) - typos: Fix typo in channel option ([#2792](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2792)) - typos: Minor typo fixes in docstrings ([#2727](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2727)) :book: Additionally, there have been 3 contributions to our documentation and book. ([#2712](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2712), [#2770](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2770), [#2789](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2789)) #### Dependencies ##### Added - github.com/fxamacker/cbor/v2: [v2.6.0](https://togithub.com/fxamacker/cbor/tree/v2.6.0) - github.com/x448/float16: [v0.8.4](https://togithub.com/x448/float16/tree/v0.8.4) - golang.org/x/telemetry: [`b75ee88`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b75ee88) - k8s.io/gengo/v2: [`51d4e06`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/51d4e06) ##### Changed - github.com/evanphx/json-patch/v5: [v5.8.0 → v5.9.0](https://togithub.com/evanphx/json-patch/compare/v5.8.0...v5.9.0) - github.com/golang/protobuf: [v1.5.3 → v1.5.4](https://togithub.com/golang/protobuf/compare/v1.5.3...v1.5.4) - github.com/google/cel-go: [v0.17.7 → v0.17.8](https://togithub.com/google/cel-go/compare/v0.17.7...v0.17.8) - github.com/onsi/ginkgo/v2: [v2.14.0 → v2.17.1](https://togithub.com/onsi/ginkgo/compare/v2.14.0...v2.17.1) - github.com/onsi/gomega: [v1.30.0 → v1.32.0](https://togithub.com/onsi/gomega/compare/v1.30.0...v1.32.0) - github.com/prometheus/client_golang: [v1.18.0 → v1.16.0](https://togithub.com/prometheus/client_golang/compare/v1.18.0...v1.16.0) - github.com/prometheus/client_model: [v0.5.0 → v0.4.0](https://togithub.com/prometheus/client_model/compare/v0.5.0...v0.4.0) - github.com/prometheus/common: [v0.45.0 → v0.44.0](https://togithub.com/prometheus/common/compare/v0.45.0...v0.44.0) - golang.org/x/crypto: v0.16.0 → v0.21.0 - golang.org/x/mod: v0.14.0 → v0.15.0 - golang.org/x/net: v0.19.0 → v0.23.0 - golang.org/x/sync: v0.5.0 → v0.6.0 - golang.org/x/sys: v0.16.0 → v0.18.0 - golang.org/x/term: v0.15.0 → v0.18.0 - golang.org/x/tools: v0.16.1 → v0.18.0 - google.golang.org/protobuf: v1.31.0 → v1.33.0 - k8s.io/api: v0.29.0 → v0.30.0 - k8s.io/apiextensions-apiserver: v0.29.0 → v0.30.0 - k8s.io/apimachinery: v0.29.0 → v0.30.0 - k8s.io/apiserver: v0.29.0 → v0.30.0 - k8s.io/client-go: v0.29.0 → v0.30.0 - k8s.io/code-generator: v0.29.0 → v0.30.0 - k8s.io/component-base: v0.29.0 → v0.30.0 - k8s.io/klog/v2: v2.110.1 → v2.120.1 - k8s.io/kms: v0.29.0 → v0.30.0 - k8s.io/kube-openapi: [`2dd684a`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/2dd684a) → [`70dd376`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/70dd376) - sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.28.0 → v0.29.0 - sigs.k8s.io/yaml: v1.4.0 → v1.3.0 ##### Removed - github.com/matttproud/golang_protobuf_extensions/v2: [v2.0.0](https://togithub.com/matttproud/golang_protobuf_extensions/tree/v2.0.0) - go.uber.org/atomic: v1.10.0 - k8s.io/gengo: [`9cce18d`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/9cce18d) *Thanks to all our contributors!* 😊 ### [`v0.17.6`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.6) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.5...v0.17.6) #### What's Changed - ✨ setup-envtest: download binaries from controller-tools releases by [@damdo](https://togithub.com/damdo) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2843](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2843) - 🐛 Recreate watcher if the file unlinked and replaced by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2920](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2920) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.5...v0.17.6 ### [`v0.17.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.5) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.4...v0.17.5) #### What's Changed - 🐛 Reintroduce AddMetricsServerExtraHandler on manager by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2815](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2815) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.4...v0.17.5 ### [`v0.17.4`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.4) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.3...v0.17.4) #### What's Changed - \[release-0.17] ✨ client: Add client-wide fieldManager by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2772](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2772) - \[release-0.17] :bug: Cache: Fix label defaulting of byObject when namespaces are configured by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2807](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2807) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.3...v0.17.4 ### [`v0.17.3`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.3) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.2...v0.17.3) ##### What's Changed - 🌱 Update to Kubernetes v1.29.2 by [@sbueringer](https://togithub.com/sbueringer) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2711](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2711) - :bug: Cache: Keep selectors when byObject.Namespaces is defaulted by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2749](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2749) - 🐛 Prevent leader election when shutting down a non-elected manager by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2752](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2752) - :bug: Runnable group should check if stopped before enqueueing by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2761](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2761) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.2...v0.17.3 ### [`v0.17.2`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.2) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.1...v0.17.2) #### What's Changed - ⚠ :bug: Fakeclient: Do not consider an apply patch to be a strategic merge patch by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2681](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2681) - 🐛 Fix lazy rest mapper cache invalidation by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2688](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2688) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.1...v0.17.2 ### [`v0.17.1`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.1) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.0...v0.17.1) ##### What's Changed - 🐛 Clean restmapper cache if a version is notFound by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2676](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2676) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.17.0...v0.17.1 ### [`v0.17.0`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.0) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.16.6...v0.17.0) #### :warning: Breaking Changes - Fake client: Only set TypeMeta for unstructured ([#2633](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2633)) - Update k8s.io/\* deps to 1.29 ([#2457](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2457) [#2500](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2500) [#2553](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2553) [#2588](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2588) [#2612](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2612) [#2615](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2615) [#2621](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2621)) - Remove apiutil.NewDiscoveryRESTMapper, use DynamicRESTMapper by default for cache ([#2611](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2611)) - RESTMapper: don't treat non-existing GroupVersions as errors ([#2571](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2571)) - Webhooks: Deprecate admission.Validator and admission.Defaulter ([#2639](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2639)) - Webhooks: Limit size of AdmissionRequests to 7MB and size of TokenReviews to 1MB ([#2598](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2598)) #### :sparkles: New Features - Cache: Allow defining options that apply to all namespaces without explicit config ([#2528](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2528)) - Cache: Allow to remove informers ([#2285](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2285)) - Cache: Add option to set WatchErrorHandler on informers ([#2494](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2494)) - Client: client.MatchingFields now supports multiple indexes ([#2512](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2512)) - Fake client: Add flowcontrol api v1 ([#2623](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2623)) - Reconciler: Add reconcile.ObjectReconciler ([#2592](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2592)) #### :bug: Bug Fixes - Add corev1, coordinationv1 scheme for leader election when LeaderElection manager option is true ([#2461](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2461)) - Cache: Default namespace only for namespaced object ([#2480](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2480)) - Client: Don't truncate large int64s in MergePatch ([#2650](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2650)) - controllerutil: Add `RemoveControllerReference` and `HasControllerReference` func ([#2509](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2509) [#2595](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2595)) - controllerutil: Add `RemoveOwnerReference` func ([#2462](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2462)) - Dependencies: Refactor tests to drop hard otel dependency ([#2460](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2460)) - Envtest: CRDs that aren't convertible should unset spec.conversion ([#2525](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2525)) - Fake client: Correctly identify if patch call was made on status ([#2508](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2508)) - Fake client: Do not update anything but status when using subresource client ([#2479](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2479)) - Fake client: Fix returning object after status update ([#2489](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2489)) - Fake client: Fix status subresource getting updated on Update when it is empty ([#2484](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2484)) - Fake client: Handle unstructured status update with fake client ([#2495](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2495)) - Manager: Fix goroutine leak ([#2527](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2527)) - Manager: Use HTTP client from leaderElectionConfig for leader election recorder provider ([#2464](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2464)) - RESTMapper: Return NoResourceMatchError when appropriate for backwards compatibility. ([#2472](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2472)) - Webhook: Handle http.NoBody ([#2605](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2605)) #### :seedling: Others - Client: Make client.MatchingLabels faster ([#2529](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2529)) - Envtest: Allow to ignore scheme.Convertible check for CRDs ([#2555](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2555)) - Envtest: Improve process cleanup ([#2560](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2560)) - Metrics: Add 100/1000s buckets for Prometheus workqueue histograms ([#2638](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2638)) - Metrics: Avoid dependency on apiserver/options if metrics/filters are used ([#2645](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2645)) - Replace k8s.io/utils/pointer with k8s.io/utils/ptr ([#2488](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2488)) - Webhooks: Cleanup webhook variable assignment ([#2604](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2604)) #### :seedling: Dependencies - Bump github.com/emicklei/go-restful/v3 from v3.9.0 to 3.11.0 ([#2507](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2507)) - Bump github.com/evanphx/json-patch from 5.6.0+incompatible to 4.12.0+incompatible ([#2501](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2501) [#2643](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2643)) - Note: We "downgraded" to v4.12.0+incompatible because it is actually newer than v5.6.0+incompatible and to make sure the code in fake client that is using this dependency behaves exactly the same as the corresponding upstream code. We recommend users to either use github.com/evanphx/json-patch@v4.12.0+incompatible or to upgrade to github.com/evanphx/json-patch/v5@v5.8.0. More details can be fou[https://github.com/kubernetes-sigs/controller-runtime/pull/2643#discussion_r1446189655](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2643#discussion_r1446189655)189655. - Bump github.com/evanphx/json-patch/v5 from 5.6.0 to 5.8.0 ([#2499](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2499) [#2650](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2650)) - Bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 ([#2561](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2561)) - Bump github.com/go-logr/logr from 1.2.4 to 1.4.1 ([#2566](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2566) [#2630](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2630)) - Bump github.com/go-logr/zapr from 1.2.4 to 1.3.0 ([#2574](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2574)) - Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 ([#2545](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2545)) - Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.14.0 ([#2458](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2458) [#2514](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2514) [#2534](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2534) [#2578](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2578) [#2610](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2610) [#2651](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2651)) - Bump github.com/onsi/gomega from 1.27.10 to 1.30.0 ([#2521](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2521) [#2562](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2562) [#2568](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2568) [#2579](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2579)) - Bump github.com/prometheus/client_golang from 1.16.0 to 1.18.0 ([#2520](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2520) [#2632](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2632)) - Bump github.com/prometheus/client_model from 0.4.1-0.20230718164431-9a2bf3000d16 to 0.5.0 ([#2535](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2535)) - Bump go.uber.org/goleak from 1.2.1 to 1.3.0 ([#2569](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2569)) - Bump go.uber.org/zap from 1.25.0 to 1.26.0 ([#2502](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2502)) - Bump golang.org/x/net to 0.17.0 ([#2540](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2540)) - Bump golang.org/x/sys from 0.11.0 to 0.16.0 ([#2470](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2470) [#2533](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2533) [#2572](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2572) [#2597](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2597) [#2642](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2642)) - Bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 ([#2573](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2573)) - Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 ([#2567](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2567)) - Bump controller-tools from v0.13.0 to v0.14.0 ([#2649](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2649)) - Bump go-apidiff from v0.5.0 to v0.8.2 ([#2517](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2517) [#2655](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2655)) - Upgrade dependencies for hack/tools and tools/ ([#2517](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2517)) - Bump kubernetes-sigs/kubebuilder-release-tools from 0.3.0 to 0.4.3 ([#2532](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2532) [#2575](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2575) [#2618](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2618)) - Bump golang version in GH actions ([#2609](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2609)) - Bump actions/checkout from 3 to 4 ([#2469](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2469)) - Bump actions/setup-go from 4 to 5 ([#2617](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2617)) - Bump envtest to 1.28.0 ([#2531](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2531)) :book: Additionally, there have been 5 contributions to our documentation. ([#2497](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2497), [#2498](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2498), [#2538](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2538), [#2599](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2599), [#2602](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2602), [#2635](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2635) [#2647](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2647)) *Thanks to all our contributors!* 😊 ### [`v0.16.6`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.6) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.16.5...v0.16.6) #### What's Changed - ✨ client: Add client-wide fieldManager by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2775](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2775) - 🌱 Update to Kubernetes v0.28.9 by [@vincepri](https://togithub.com/vincepri) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2814](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2814) - 🐛 Reintroduce AddMetricsServerExtraHandler on manager by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2816](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2816) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.16.5...v0.16.6 ### [`v0.16.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.5) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.16.4...v0.16.5) #### What's Changed - 🐛 Fix lazy rest mapper cache invalidation by [@g-gaston](https://togithub.com/g-gaston) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2689](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2689) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.16.4...v0.16.5 ### [`v0.16.4`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.4) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.16.3...v0.16.4) #### What's Changed - :running: Make client.MatchingLabels faster by [@samuelvl](https://togithub.com/samuelvl) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2613](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2613) - 🐛 Avoid extra calls for not found resource by [@g-gaston](https://togithub.com/g-gaston) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2677](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2677) #### New Contributors - [@samuelvl](https://togithub.com/samuelvl) made their first contribution in [https://github.com/kubernetes-sigs/controller-runtime/pull/2613](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2613) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.16.3...v0.16.4 ### [`v0.16.3`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.3) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.16.2...v0.16.3) ##### What's Changed - 🐛Update dependency go-restful to 3.11.0 by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2516](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2516) - 🐛 Correctly identify if patch call was made on status by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2515](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2515) - 🐛 Handle unstructured status update with fake client by [@troy0820](https://togithub.com/troy0820) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2523](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2523) - :sparkles: Cache: Allow defining options that apply to all namespaces that themselves have no explicit config by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2539](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2539) - 🐛 bump golang.org/x/net to v0.17.0 by [@joelanford](https://togithub.com/joelanford) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2541](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2541) - 🌱 Bump k8s to 1.28.3 by [@varshaprasad96](https://togithub.com/varshaprasad96) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2552](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2552) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.16.2...v0.16.3 ### [`v0.16.2`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.2) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.16.1...v0.16.2) #### What's Changed - 🐛 Add corev1, coordinationv1 scheme for leader election when LeaderElection manager option is true by [@troy0820](https://togithub.com/troy0820) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2466](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2466) - 🐛 Use http client from leaderElectionConfig by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2468](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2468) - 🐛 Default namespace only for namespaced object by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2482](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2482) - 🐛 Do not update anything but status when using subresource client by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2483](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2483) - :bug: Fix status subresource getting updated on Update when it is empty by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2485](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2485) - :bug: Fix returning object after status update by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2490](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2490) - :bug: Return NoResourceMatchError when appropriate for backwards compatibility. by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2492](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2492) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.16.1...v0.16.2 ### [`v0.16.1`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.1) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.16.0...v0.16.1) ##### What's Changed - 🐛 Refactor tests to drop hard otel dependency by [@howardjohn](https://togithub.com/howardjohn) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2465](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2465) - :seedling: Bump k8s.io/apiserver from 0.28.0 to 0.28.1 by [@k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2459](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2459) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.16.0...v0.16.1 ### [`v0.16.0`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.0) [Compare Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.15.3...v0.16.0) #### Highlights - Granular cache configuration ([#2421](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2421)) - New cache option to fail on missing informer on cache reads ([#2406](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2406)) - Secure metrics serving ([#2407](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2407)) - Upgrade to Kubernetes 1.28 libraries ([#2393](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2393), [#2405](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2405), [#2449](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2449)) #### Changes since v0.15 ##### :warning: Breaking Changes - Bump k8s.io/\* dependencies to v1.28.0 by [@sbueringer](https://togithub.com/sbueringer) ([#2393](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2393), [#2405](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2405), [#2449](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2449)) - Allow configuring more granular cache filtering by [@alvaroaleman](https://togithub.com/alvaroaleman) ([#2421](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2421)) - Introduce Metrics Options & secure metrics serving by [@sbueringer](https://togithub.com/sbueringer) ([#2407](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2407)) - Return an error if the continue list option is set for the cache reader by [@shuheiktgw](https://togithub.com/shuheiktgw) ([#2439](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2439)) - Remove deprecated manager, webhook and cluster options by [@sbueringer](https://togithub.com/sbueringer) ([#2422](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2422)) - Remove deprecated MultiNamespacedCacheBuilder, NewFakeClientWithScheme, controllerutil.Object, envtest.Environment.KubeAPIServerFlags & zap.Options.DestWritter by [@sbueringer](https://togithub.com/sbueringer) ([#2423](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2423)) - controller builder: return error when multiple reconcilers are set by [@sbueringer](https://togithub.com/sbueringer) ([#2415](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2415)) - fake client: use correct RBAC apiGroup name when deciding if to allow unconditional updates by [@jaideepr97](https://togithub.com/jaideepr97) ([#2412](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2412)) - Minor improvements to godoc & code style in cache pkg by [@sbueringer](https://togithub.com/sbueringer) ([#2416](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2416)) ##### :sparkles: New Features - Cache: add ReaderFailOnMissingInformer option by [@stevekuznetsov](https://togithub.com/stevekuznetsov) ([#2406](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2406)) - Cache: allow non-blocking retrieval of informers by [@maxsmythe](https://togithub.com/maxsmythe) ([#2371](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2371)) ##### :bug: Bug Fixes - Add missing return statement in admission.Decoder.DecodeRaw by [@lleshchi](https://togithub.com/lleshchi) ([#2433](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2433)) - fakeClient.Status().Update(...) cannot recognize resource version conflicts by [@iiiceoo](https://togithub.com/iiiceoo) ([#2365](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2365)) - Fix Defaulting of the User Agent by [@alvaroaleman](https://togithub.com/alvaroaleman) ([#2435](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2435)) - Fix logs in the unstructured client by [@Poor12](https://togithub.com/Poor12) ([#2343](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2343)) - Fix unspecified KindsFor version by [@tenstad](https://togithub.com/tenstad) ([#2346](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2346)) - Fix TerminalError(nil).Error() panic by [@sheidkamp](https://togithub.com/sheidkamp) ([#2438](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2438)) - hasLabels and matchingLabels step on each other by [@shanshanying](https://togithub.com/shanshanying) ([#2363](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2363)) - SetLogger should work with nil sinks by [@vincepri](https://togithub.com/vincepri) ([#2367](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2367)) ##### :seedling: Others - Use NewRateLimitingQueueWithConfig instead of deprecated NewNamedRateLimitingQueue by [@sbueringer](https://togithub.com/sbueringer) ([#2411](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2411)) - Add a prefix to the stack trace printed after SetLogger timeout by [@vincepri](https://togithub.com/vincepri) ([#2357](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2357)) - Minor improvements to godoc, code style in builder pkg by [@sbueringer](https://togithub.com/sbueringer) ([#2414](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2414)) - Add integration test to avoid manager.Start deadlocks by [@sbueringer](https://togithub.com/sbueringer) ([#2418](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2418)) - Automatically regenerate scratch env go mod file by [@sbuerConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.