stenic / sql-operator

Manage SQL databases, users and grant using kubernetes manifests
https://stenic.github.io/sql-operator/
Other
5 stars 3 forks source link

fix(deps): update module sigs.k8s.io/controller-runtime to v0.19.2 #126

Open renovate[bot] opened 4 weeks ago

renovate[bot] commented 4 weeks ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sigs.k8s.io/controller-runtime v0.10.3 -> v0.19.2 age adoption passing confidence

Release Notes

kubernetes-sigs/controller-runtime (sigs.k8s.io/controller-runtime) ### [`v0.19.2`](https://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.19.2) [Compare Source](https://redirect.github.com/kubernetes-sigs/controller-runtime/compare/v0.19.1...v0.19.2) #### What's Changed - ✨ Add EnableWatchBookmarks option to cache informers by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/3018](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/3018) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.19.1...v0.19.2 ### [`v0.19.1`](https://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.19.1) [Compare Source](https://redirect.github.com/kubernetes-sigs/controller-runtime/compare/v0.19.0...v0.19.1) #### What's Changed - \[release-0.19] 🌱 Verify PR titles with shell script by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2947](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2947) - \[release-0.19] πŸ› Fakeclient: preserve TypeMeta for PartialObjectMeta resources by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2951](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2951) - \[release-0.19] 🌱 pr-verify: use env var for passing the PR title by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2962](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2962) - \[release-0.19] 🌱 pr-verify: use env var for passing the PR title by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2965](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2965) - \[release-0.19] 🌱 Fix PR verify action by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2974](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2974) - \[release-0.19] :bug: Fakeclient: Fix TOCTOU races by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2992](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2992) **Full Changelog**: https://github.com/kubernetes-sigs/controller-runtime/compare/v0.19.0...v0.19.1 ### [`v0.19.0`](https://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.19.0) [Compare Source](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2798) [#​2858](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2858) [#​2867](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2867) [#​2872](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2872) [#​2883](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2883) [#​2900](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2900) [#​2906](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2906) [#​2924](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2924)) - Add generic TypedReconciler ([#​2799](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2799)) - client: Remove options.WarningHandler ([#​2887](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2887) [#​2903](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2903)) - controller: Validate controller names are unique & add SkipNameValidation option ([#​2902](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2902) [#​2918](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2918)) #### :sparkles: New Features - client: Add WithFieldValidation client ([#​2860](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2860) [#​2913](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2913)) - controller & webhook: Recover panics per default & add panic metrics ([#​2905](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2905)) - controllerutil: configure BlockOwnerDeletion when setting OwnerReference ([#​2847](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2847)) - fake client: Add scale subresource logic ([#​2855](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2855)) - predicate: Add missing generic version of ResourceVersionChangedPredicate ([#​2812](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2812)) - setup-envtest: Download binaries from controller-tools releases instead of GCS ([#​2811](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2811)) - setup-envtest: Publish setup-envtest binaries via release attachments ([#​2911](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2911)) - workqueue: Add `controller` label to workqueue metrics ([#​2895](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2895)) #### :bug: Bug Fixes - apiutil.IsGVKNamespaced: Fix namespaced GVK check to use version ([#​2875](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2875)) - cache: Fix label defaulting of byObject when namespaces are configured ([#​2805](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2805)) - certwatcher: Recreate watcher if the file is unlinked and replaced ([#​2893](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2893)) - manager: Fix log in AddMetricsServerExtraHandler ([#​2874](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2874)) - manager: Quiet context.Canceled errors during shutdown ([#​2745](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2745)) - manager: Reintroduce AddMetricsServerExtraHandler ([#​2813](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2813)) - manager.Start: Prevent LeaderElector setup error from being swallowed ([#​2876](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2876)) - source.Kind: String() should return correct type ([#​2806](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2806)) #### :seedling: Others - actions: Add action to approve actions if /ok-to-test is set ([#​2908](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2908)) - controller: Add dynamic watcher tests ([#​2881](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2881)) - dependabot: disable go module bumps, bump all actions in a single PR ([#​2856](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2856)) - verify-modules: Verify go modules are in sync with upstream k/k ([#​2774](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2774)) :book: Additionally, there have been 5 contributions to our documentation. ([#​2830](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2830), [#​2849](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2849), [#​2863](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2863), [#​2894](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2894), [#​2899](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2899), [#​2910](https://redirect.github.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://redirect.github.com/antlr4-go/antlr/tree/v4.13.0) - github.com/cpuguy83/go-md2man/v2: [v2.0.4](https://redirect.github.com/cpuguy83/go-md2man/tree/v2.0.4) - github.com/go-task/slim-sprig/v3: [v3.0.0](https://redirect.github.com/go-task/slim-sprig/tree/v3.0.0) - github.com/russross/blackfriday/v2: [v2.1.0](https://redirect.github.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://redirect.github.com/alecthomas/kingpin/compare/v2.3.2...v2.4.0) - github.com/cenkalti/backoff/v4: [v4.2.1 β†’ v4.3.0](https://redirect.github.com/cenkalti/backoff/compare/v4.2.1...v4.3.0) - github.com/cespare/xxhash/v2: [v2.2.0 β†’ v2.3.0](https://redirect.github.com/cespare/xxhash/compare/v2.2.0...v2.3.0) - github.com/chzyer/readline: [2972be2 β†’ v1.5.1](https://redirect.github.com/chzyer/readline/compare/2972be2...v1.5.1) - github.com/cncf/xds/go: [e9ce688 β†’ 555b57e](https://redirect.github.com/cncf/xds/compare/e9ce688...555b57e) - github.com/davecgh/go-spew: [v1.1.1 β†’ d8f796a](https://redirect.github.com/davecgh/go-spew/compare/v1.1.1...d8f796a) - github.com/envoyproxy/go-control-plane: [v0.11.1 β†’ v0.12.0](https://redirect.github.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://redirect.github.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://redirect.github.com/evanphx/json-patch/compare/v4.12.0...v0.5.2) - github.com/felixge/httpsnoop: [v1.0.3 β†’ v1.0.4](https://redirect.github.com/felixge/httpsnoop/compare/v1.0.3...v1.0.4) - github.com/fxamacker/cbor/v2: [v2.6.0 β†’ v2.7.0](https://redirect.github.com/fxamacker/cbor/compare/v2.6.0...v2.7.0) - github.com/go-logr/logr: [v1.4.1 β†’ v1.4.2](https://redirect.github.com/go-logr/logr/compare/v1.4.1...v1.4.2) - github.com/go-openapi/swag: [v0.22.3 β†’ v0.22.4](https://redirect.github.com/go-openapi/swag/compare/v0.22.3...v0.22.4) - github.com/golang/glog: [v1.1.0 β†’ v1.2.1](https://redirect.github.com/golang/glog/compare/v1.1.0...v1.2.1) - github.com/google/cel-go: [v0.17.8 β†’ v0.20.1](https://redirect.github.com/google/cel-go/compare/v0.17.8...v0.20.1) - github.com/google/pprof: [4bb14d4 β†’ 4bfdf5a](https://redirect.github.com/google/pprof/compare/4bb14d4...4bfdf5a) - github.com/google/uuid: [v1.3.0 β†’ v1.6.0](https://redirect.github.com/google/uuid/compare/v1.3.0...v1.6.0) - github.com/grpc-ecosystem/grpc-gateway/v2: [v2.16.0 β†’ v2.20.0](https://redirect.github.com/grpc-ecosystem/grpc-gateway/compare/v2.16.0...v2.20.0) - github.com/ianlancetaylor/demangle: [28f6c0f β†’ bd984b5](https://redirect.github.com/ianlancetaylor/demangle/compare/28f6c0f...bd984b5) - github.com/matttproud/golang_protobuf_extensions: [v1.0.4 β†’ v1.0.1](https://redirect.github.com/matttproud/golang_protobuf_extensions/compare/v1.0.4...v1.0.1) - github.com/moby/spdystream: [v0.2.0 β†’ v0.4.0](https://redirect.github.com/moby/spdystream/compare/v0.2.0...v0.4.0) - github.com/moby/term: [1aeaba8 β†’ v0.5.0](https://redirect.github.com/moby/term/compare/1aeaba8...v0.5.0) - github.com/onsi/ginkgo/v2: [v2.17.1 β†’ v2.19.0](https://redirect.github.com/onsi/ginkgo/compare/v2.17.1...v2.19.0) - github.com/onsi/gomega: [v1.32.0 β†’ v1.33.1](https://redirect.github.com/onsi/gomega/compare/v1.32.0...v1.33.1) - github.com/pmezard/go-difflib: [v1.0.0 β†’ 5d4384e](https://redirect.github.com/pmezard/go-difflib/compare/v1.0.0...5d4384e) - github.com/prometheus/client_golang: [v1.16.0 β†’ v1.19.1](https://redirect.github.com/prometheus/client_golang/compare/v1.16.0...v1.19.1) - github.com/prometheus/client_model: [v0.4.0 β†’ v0.6.1](https://redirect.github.com/prometheus/client_model/compare/v0.4.0...v0.6.1) - github.com/prometheus/common: [v0.44.0 β†’ v0.55.0](https://redirect.github.com/prometheus/common/compare/v0.44.0...v0.55.0) - github.com/prometheus/procfs: [v0.12.0 β†’ v0.15.1](https://redirect.github.com/prometheus/procfs/compare/v0.12.0...v0.15.1) - github.com/rogpeppe/go-internal: [v1.10.0 β†’ v1.12.0](https://redirect.github.com/rogpeppe/go-internal/compare/v1.10.0...v1.12.0) - github.com/sirupsen/logrus: [v1.9.0 β†’ v1.9.3](https://redirect.github.com/sirupsen/logrus/compare/v1.9.0...v1.9.3) - github.com/spf13/cobra: [v1.7.0 β†’ v1.8.1](https://redirect.github.com/spf13/cobra/compare/v1.7.0...v1.8.1) - github.com/stretchr/testify: [v1.8.4 β†’ v1.9.0](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/commit/a9213ee) β†’ [`f3d0a9c`](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/commit/b75ee88) β†’ [`f48c80b`](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/commit/e35e4cc) - google.golang.org/genproto/googleapis/api: [`23370e0`](https://redirect.github.com/kubernetes-sigs/controller-runtime/commit/23370e0) β†’ [`5315273`](https://redirect.github.com/kubernetes-sigs/controller-runtime/commit/5315273) - google.golang.org/genproto/googleapis/rpc: [`b8732ec`](https://redirect.github.com/kubernetes-sigs/controller-runtime/commit/b8732ec) β†’ [`f6361c8`](https://redirect.github.com/kubernetes-sigs/controller-runtime/commit/f6361c8) - google.golang.org/genproto: [`f966b18`](https://redirect.github.com/kubernetes-sigs/controller-runtime/commit/f966b18) β†’ [`b8732ec`](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/commit/3b25d92) β†’ [`18e509b`](https://redirect.github.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://redirect.github.com/antlr/antlr4/tree/runtime/Go/antlr/v4/8188dc5) - github.com/chzyer/logex: [v1.1.10](https://redirect.github.com/chzyer/logex/tree/v1.1.10) - github.com/chzyer/test: [a1ea475](https://redirect.github.com/chzyer/test/tree/a1ea475) - github.com/cncf/udpa/go: [c52dc94](https://redirect.github.com/cncf/udpa/tree/c52dc94) - github.com/go-task/slim-sprig: [52ccab3](https://redirect.github.com/go-task/slim-sprig/tree/52ccab3) *Thanks to all our contributors!* 😊 ### [`v0.18.5`](https://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2890) - :bug: AddMetricsServerExtraHandler: Info takes key/value pairs by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2917) - πŸ› Recreate watcher if the file unlinked and replaced by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.4) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2848](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.3) [Compare Source](https://redirect.github.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://redirect.github.com/sbueringer) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2837](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2837) - 🌱 Bump k8s.io/\* to v0.30.1 by [@​sbueringer](https://redirect.github.com/sbueringer) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2840](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.2) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2817](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.1) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2808](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2808) - \[release-0.18] πŸ› correct kind source type by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2809](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.0) [Compare Source](https://redirect.github.com/kubernetes-sigs/controller-runtime/compare/v0.17.6...v0.18.0) #### :warning: Breaking Changes - Bump to k8s.io/\* v1.30 ([#​2693](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2693) [#​2754](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2754) [#​2765](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2765) [#​2776](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2776) [#​2786](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2786)) - Remove deprecated v1alpha1.ControllerManagerConfiguration ([#​2648](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2648)) - admission.Decoder is now an interface ([#​2736](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2736)) - Source, Event, Predicate, Handler: Add generics support ([#​2783](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2783) [#​2796](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2796)) - client: Fix SubResourceCreateOptions signature in subresource client ([#​2766](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2766)) #### :sparkles: New Features - cache: Add TransformStripManagedFields transform func ([#​2791](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2791)) - client: Add client.WithFieldOwner to configure client-wide FieldManager ([#​2771](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2771) [#​2777](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2777)) - controller: Add `NewQueue` option ([#​2767](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2767)) - manager: Export HTTP server runnable implementation ([#​2473](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2473)) - metrics/server: Add `ListenConfig` option ([#​2519](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2519)) #### :bug: Bug Fixes - builder/webhook: Return error if For() is used multiple times ([#​2740](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2740)) - cache: Keep selectors when byObject.Namespaces is defaulted ([#​2747](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2747)) - cache: Prevent race when informers are started more than once ([#​2758](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2758)) - fake client: Allow fakeclient to patch CR with no resourceVersion ([#​2725](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2725)) - fake client: Do not consider an apply patch to be a strategic merge patch ([#​2679](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2679)) - manager: Prevent leader election when shutting down a non-elected manager ([#​2724](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2724)) - manager: Runnable group should check if stopped before enqueueing ([#​2757](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2757)) - restmapper: Clean restmapper cache if a version is notFound ([#​2663](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2663)) - restmapper: Fix cache invalidation ([#​2687](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2687)) #### :seedling: Others - ci: Add OSSF scorecard action ([#​2714](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2714)) - ci: Improve github actions dependencies versions and permissions ([#​2715](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2715)) - ci: Pin checkout action in golangci-lint action, bump checkout action, use consistent tag format ([#​2729](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2729)) - ci: Update golangci-lint to v1.57.2 ([#​2708](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2708) [#​2751](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2751)) - ci: Update scorecard github action ([#​2728](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2728)) - ci: Use go-install for versioned dependencies ([#​2710](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2710)) - envtest: WaitForDefaultNamespace while starting up envtest ([#​2668](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2668)) - owners: Cleanup owners files ([#​2730](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2730)) - owners: Remove outdated testing framework approvers ([#​2709](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2709)) - predicate: Compare labels and annotations using maps.Equal ([#​2705](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2705)) - typos: Fix typo of CacheReader comment ([#​2773](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2773)) - typos: Fix typo in channel option ([#​2792](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2792)) - typos: Minor typo fixes in docstrings ([#​2727](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2727)) :book: Additionally, there have been 3 contributions to our documentation and book. ([#​2712](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2712), [#​2770](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2770), [#​2789](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2789)) #### Dependencies ##### Added - github.com/fxamacker/cbor/v2: [v2.6.0](https://redirect.github.com/fxamacker/cbor/tree/v2.6.0) - github.com/x448/float16: [v0.8.4](https://redirect.github.com/x448/float16/tree/v0.8.4) - golang.org/x/telemetry: [`b75ee88`](https://redirect.github.com/kubernetes-sigs/controller-runtime/commit/b75ee88) - k8s.io/gengo/v2: [`51d4e06`](https://redirect.github.com/kubernetes-sigs/controller-runtime/commit/51d4e06) ##### Changed - github.com/evanphx/json-patch/v5: [v5.8.0 β†’ v5.9.0](https://redirect.github.com/evanphx/json-patch/compare/v5.8.0...v5.9.0) - github.com/golang/protobuf: [v1.5.3 β†’ v1.5.4](https://redirect.github.com/golang/protobuf/compare/v1.5.3...v1.5.4) - github.com/google/cel-go: [v0.17.7 β†’ v0.17.8](https://redirect.github.com/google/cel-go/compare/v0.17.7...v0.17.8) - github.com/onsi/ginkgo/v2: [v2.14.0 β†’ v2.17.1](https://redirect.github.com/onsi/ginkgo/compare/v2.14.0...v2.17.1) - github.com/onsi/gomega: [v1.30.0 β†’ v1.32.0](https://redirect.github.com/onsi/gomega/compare/v1.30.0...v1.32.0) - github.com/prometheus/client_golang: [v1.18.0 β†’ v1.16.0](https://redirect.github.com/prometheus/client_golang/compare/v1.18.0...v1.16.0) - github.com/prometheus/client_model: [v0.5.0 β†’ v0.4.0](https://redirect.github.com/prometheus/client_model/compare/v0.5.0...v0.4.0) - github.com/prometheus/common: [v0.45.0 β†’ v0.44.0](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/commit/2dd684a) β†’ [`70dd376`](https://redirect.github.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://redirect.github.com/matttproud/golang_protobuf_extensions/tree/v2.0.0) - go.uber.org/atomic: v1.10.0 - k8s.io/gengo: [`9cce18d`](https://redirect.github.com/kubernetes-sigs/controller-runtime/commit/9cce18d) *Thanks to all our contributors!* 😊 ### [`v0.17.6`](https://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.6) [Compare Source](https://redirect.github.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://redirect.github.com/damdo) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2843](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2843) - πŸ› Recreate watcher if the file unlinked and replaced by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2920](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.5) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2815](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.4) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2772](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2807](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.3) [Compare Source](https://redirect.github.com/kubernetes-sigs/controller-runtime/compare/v0.17.2...v0.17.3) ##### What's Changed - 🌱 Update to Kubernetes v1.29.2 by [@​sbueringer](https://redirect.github.com/sbueringer) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2711](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2711) - :bug: Cache: Keep selectors when byObject.Namespaces is defaulted by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2749](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2749) - πŸ› Prevent leader election when shutting down a non-elected manager by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2752](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2752) - :bug: Runnable group should check if stopped before enqueueing by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2761](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.2) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2681](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2681) - πŸ› Fix lazy rest mapper cache invalidation by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2688](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.1) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2676](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.0) [Compare Source](https://redirect.github.com/kubernetes-sigs/controller-runtime/compare/v0.16.6...v0.17.0) #### :warning: Breaking Changes - Fake client: Only set TypeMeta for unstructured ([#​2633](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2633)) - Update k8s.io/\* deps to 1.29 ([#​2457](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2457) [#​2500](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2500) [#​2553](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2553) [#​2588](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2588) [#​2612](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2612) [#​2615](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2615) [#​2621](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2621)) - Remove apiutil.NewDiscoveryRESTMapper, use DynamicRESTMapper by default for cache ([#​2611](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2611)) - RESTMapper: don't treat non-existing GroupVersions as errors ([#​2571](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2571)) - Webhooks: Deprecate admission.Validator and admission.Defaulter ([#​2639](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2639)) - Webhooks: Limit size of AdmissionRequests to 7MB and size of TokenReviews to 1MB ([#​2598](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2598)) #### :sparkles: New Features - Cache: Allow defining options that apply to all namespaces without explicit config ([#​2528](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2528)) - Cache: Allow to remove informers ([#​2285](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2285)) - Cache: Add option to set WatchErrorHandler on informers ([#​2494](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2494)) - Client: client.MatchingFields now supports multiple indexes ([#​2512](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2512)) - Fake client: Add flowcontrol api v1 ([#​2623](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2623)) - Reconciler: Add reconcile.ObjectReconciler ([#​2592](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2461)) - Cache: Default namespace only for namespaced object ([#​2480](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2480)) - Client: Don't truncate large int64s in MergePatch ([#​2650](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2650)) - controllerutil: Add `RemoveControllerReference` and `HasControllerReference` func ([#​2509](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2509) [#​2595](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2595)) - controllerutil: Add `RemoveOwnerReference` func ([#​2462](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2462)) - Dependencies: Refactor tests to drop hard otel dependency ([#​2460](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2460)) - Envtest: CRDs that aren't convertible should unset spec.conversion ([#​2525](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2525)) - Fake client: Correctly identify if patch call was made on status ([#​2508](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2508)) - Fake client: Do not update anything but status when using subresource client ([#​2479](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2479)) - Fake client: Fix returning object after status update ([#​2489](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2489)) - Fake client: Fix status subresource getting updated on Update when it is empty ([#​2484](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2484)) - Fake client: Handle unstructured status update with fake client ([#​2495](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2495)) - Manager: Fix goroutine leak ([#​2527](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2527)) - Manager: Use HTTP client from leaderElectionConfig for leader election recorder provider ([#​2464](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2464)) - RESTMapper: Return NoResourceMatchError when appropriate for backwards compatibility. ([#​2472](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2472)) - Webhook: Handle http.NoBody ([#​2605](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2605)) #### :seedling: Others - Client: Make client.MatchingLabels faster ([#​2529](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2529)) - Envtest: Allow to ignore scheme.Convertible check for CRDs ([#​2555](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2555)) - Envtest: Improve process cleanup ([#​2560](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2560)) - Metrics: Add 100/1000s buckets for Prometheus workqueue histograms ([#​2638](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2638)) - Metrics: Avoid dependency on apiserver/options if metrics/filters are used ([#​2645](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2645)) - Replace k8s.io/utils/pointer with k8s.io/utils/ptr ([#​2488](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2488)) - Webhooks: Cleanup webhook variable assignment ([#​2604](https://redirect.github.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://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2501) [#​2643](https://redirect.github.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://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2499) [#​2650](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2650)) - Bump github.com/fsnotify/fsnotify from 1.6.0 to 1.7.0 ([#​2561](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2561)) - Bump github.com/go-logr/logr from 1.2.4 to 1.4.1 ([#​2566](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2566) [#​2630](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2630)) - Bump github.com/go-logr/zapr from 1.2.4 to 1.3.0 ([#​2574](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2574)) - Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 ([#​2545](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2545)) - Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.14.0 ([#​2458](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2458) [#​2514](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2514) [#​2534](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2534) [#​2578](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2578) [#​2610](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2610) [#​2651](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2651)) - Bump github.com/onsi/gomega from 1.27.10 to 1.30.0 ([#​2521](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2521) [#​2562](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2562) [#​2568](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2568) [#​2579](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2579)) - Bump github.com/prometheus/client_golang from 1.16.0 to 1.18.0 ([#​2520](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2520) [#​2632](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2535)) - Bump go.uber.org/goleak from 1.2.1 to 1.3.0 ([#​2569](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2569)) - Bump go.uber.org/zap from 1.25.0 to 1.26.0 ([#​2502](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2502)) - Bump golang.org/x/net to 0.17.0 ([#​2540](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2540)) - Bump golang.org/x/sys from 0.11.0 to 0.16.0 ([#​2470](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2470) [#​2533](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2533) [#​2572](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2572) [#​2597](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2597) [#​2642](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2642)) - Bump k8s.io/klog/v2 from 2.100.1 to 2.110.1 ([#​2573](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2573)) - Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 ([#​2567](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2567)) - Bump controller-tools from v0.13.0 to v0.14.0 ([#​2649](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2649)) - Bump go-apidiff from v0.5.0 to v0.8.2 ([#​2517](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2517) [#​2655](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2655)) - Upgrade dependencies for hack/tools and tools/ ([#​2517](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2517)) - Bump kubernetes-sigs/kubebuilder-release-tools from 0.3.0 to 0.4.3 ([#​2532](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2532) [#​2575](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2575) [#​2618](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2618)) - Bump golang version in GH actions ([#​2609](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2609)) - Bump actions/checkout from 3 to 4 ([#​2469](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2469)) - Bump actions/setup-go from 4 to 5 ([#​2617](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2617)) - Bump envtest to 1.28.0 ([#​2531](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2531)) :book: Additionally, there have been 5 contributions to our documentation. ([#​2497](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2497), [#​2498](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2498), [#​2538](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2538), [#​2599](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2599), [#​2602](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2602), [#​2635](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2635) [#​2647](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2647)) *Thanks to all our contributors!* 😊 ### [`v0.16.6`](https://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.6) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2775](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2775) - 🌱 Update to Kubernetes v0.28.9 by [@​vincepri](https://redirect.github.com/vincepri) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2814](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2814) - πŸ› Reintroduce AddMetricsServerExtraHandler on manager by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2816](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.5) [Compare Source](https://redirect.github.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://redirect.github.com/g-gaston) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2689](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.4) [Compare Source](https://redirect.github.com/kubernetes-sigs/controller-runtime/compare/v0.16.3...v0.16.4) #### What's Changed - :running: Make client.MatchingLabels faster by [@​samuelvl](https://redirect.github.com/samuelvl) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2613](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2613) - πŸ› Avoid extra calls for not found resource by [@​g-gaston](https://redirect.github.com/g-gaston) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2677](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2677) #### New Contributors - [@​samuelvl](https://redirect.github.com/samuelvl) made their first contribution in [https://github.com/kubernetes-sigs/controller-runtime/pull/2613](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.3) [Compare Source](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2516](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2516) - πŸ› Correctly identify if patch call was made on status by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2515](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2515) - πŸ› Handle unstructured status update with fake client by [@​troy0820](https://redirect.github.com/troy0820) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2523](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2539](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2539) - πŸ› bump golang.org/x/net to v0.17.0 by [@​joelanford](https://redirect.github.com/joelanford) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2541](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2541) - 🌱 Bump k8s to 1.28.3 by [@​varshaprasad96](https://redirect.github.com/varshaprasad96) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2552](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.2) [Compare Source](https://redirect.github.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://redirect.github.com/troy0820) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2466](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2466) - πŸ› Use http client from leaderElectionConfig by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2468](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2468) - πŸ› Default namespace only for namespaced object by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2482](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2482) - πŸ› Do not update anything but status when using subresource client by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2483](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2485](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2485) - :bug: Fix returning object after status update by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2490](https://redirect.github.com/kubernetes-sigs/controller-runtime/pull/2490) - :bug: Return NoResourceMatchError when appropriate for backwards compatibility. by [@​k8s-infra-cherrypick-robot](https://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2492](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.1) [Compare Source](https://redirect.github.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://redirect.github.com/howardjohn) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2465](https://redirect.github.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://redirect.github.com/k8s-infra-cherrypick-robot) in [https://github.com/kubernetes-sigs/controller-runtime/pull/2459](https://redirect.github.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://redirect.github.com/kubernetes-sigs/controller-runtime/releases/tag/v0.16.0) [Compare Source](https://redirect.github.com/kubernetes-sigs/controller-runtime/compare/v0.15.3...v0.16.0) #### Highlights - Granular cache configuration ([#​2421](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2421)) - New cache option to fail on missing informer on cache reads ([#​2406](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2406)) - Secure metrics serving ([#​2407](https://redirect.github.com/kubernetes-sigs/controller-runtime/issues

Configuration

πŸ“… 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 becomes conflicted, 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.

renovate[bot] commented 4 weeks ago

⚠️ 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:

The artifact failure details are included below:

File name: go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading k8s.io/apimachinery v0.31.0
go: downloading sigs.k8s.io/controller-runtime v0.19.2
go: downloading github.com/onsi/ginkgo v1.16.5
go: downloading github.com/onsi/gomega v1.33.1
go: downloading k8s.io/api v0.31.0
go: downloading k8s.io/client-go v0.31.0
go: downloading github.com/prometheus/client_golang v1.19.1
go: downloading github.com/go-sql-driver/mysql v1.6.0
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading k8s.io/klog/v2 v2.130.1
go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1
go: downloading github.com/google/gofuzz v1.2.0
go: downloading k8s.io/utils v0.0.0-20240711033017-18e509b52bc8
go: downloading gomodules.xyz/jsonpatch/v2 v2.4.0
go: downloading github.com/go-logr/logr v1.4.2
go: downloading github.com/google/go-cmp v0.6.0
go: downloading github.com/evanphx/json-patch/v5 v5.9.0
go: downloading k8s.io/apiextensions-apiserver v0.31.0
go: downloading github.com/evanphx/json-patch v4.11.0+incompatible
go: downloading sigs.k8s.io/yaml v1.4.0
go: downloading github.com/go-logr/zapr v1.3.0
go: downloading go.uber.org/zap v1.26.0
go: downloading github.com/beorn7/perks v1.0.1
go: downloading github.com/cespare/xxhash/v2 v2.3.0
go: downloading github.com/prometheus/client_model v0.6.1
go: downloading github.com/prometheus/common v0.55.0
go: downloading github.com/cespare/xxhash v1.1.0
go: downloading github.com/prometheus/procfs v0.15.1
go: downloading golang.org/x/sys v0.21.0
go: downloading google.golang.org/protobuf v1.34.2
go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
go: downloading golang.org/x/net v0.26.0
go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd
go: downloading github.com/json-iterator/go v1.1.12
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading github.com/fsnotify/fsnotify v1.7.0
go: downloading github.com/nxadm/tail v1.4.8
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340
go: downloading github.com/pkg/errors v0.9.1
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
go: downloading golang.org/x/time v0.5.0
go: downloading golang.org/x/term v0.21.0
go: downloading golang.org/x/oauth2 v0.21.0
go: downloading github.com/fxamacker/cbor/v2 v2.7.0
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/imdario/mergo v0.3.6
go: downloading github.com/spf13/pflag v1.0.5
go: downloading golang.org/x/exp v0.0.0-20231006140011-7918f672742d
go: downloading golang.org/x/text v0.16.0
go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: downloading github.com/google/gnostic-models v0.6.8
go: downloading github.com/golang/protobuf v1.5.4
go: downloading github.com/go-openapi/jsonreference v0.20.2
go: downloading github.com/go-openapi/swag v0.22.4
go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
go: downloading github.com/x448/float16 v0.8.4
go: downloading github.com/go-openapi/jsonpointer v0.19.6
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/emicklei/go-restful/v3 v3.11.0
go: downloading github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633
go: github.com/stenic/sql-operator/api/v1alpha1 tested by
    github.com/stenic/sql-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
sonarcloud[bot] commented 1 day ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud