build(deps): bump sigs.k8s.io/controller-runtime from 0.20.4 to 0.21.0
Bumps sigs.k8s.io/controller-runtime from 0.20.4 to 0.21.0.
Release notes
Sourced from sigs.k8s.io/controller-runtime's releases.
v0.21.0
Highlights
- Bump to Kubernetes v1.33 libraries
- Improvements for priority queue (#2374)
- envtest now has an option to download envtest binaries (can be used to replace setup-envtest depending on use case)
- Metric improvements: native histograms, all Go runtime metrics are enabled now
- Various bug fixes
- New reviewers:
@troy0820,@JoelSpeed!!:warning: Breaking Changes
- Bump to k8s.io/* v0.33.0 and Go 1.24 (#3104 #3142 #3161 #3204 #3215)
- config: Stop enabling client-side ratelimiter by default (#3119)
- Previous behavior can be preserved by setting QPS 20 and Burst 30 on the rest.Config
- controller: NewUnmanaged/NewTypedUnmanaged: Stop requiring a manager (#3141)
- reconcile: Deprecate
Result.Requeue(#3107):sparkles: New Features
- controller: priority queue:
- Add debug logging for the state of the priority queue (#3075)
- Add priority label to queue depth metric (#3156)
- Leverage IsInInitialList (#3162)
- Remove redundant WithLowPriorityWhenUnchanged in builder (#3168)
- Retain the priority after Reconcile (#3167)
- Set priority automatically in handlers (#3111 #3152 #3160 #3174)
- envtest: Add Environment.KubeConfig field (#2278)
- envtest: Add option to download envtest binaries (#3135 #3137)
- events: Add IsInInitialList to TypedCreateEvent (#3162)
- log/zap: Enable panic log level (#3186)
- logging: Adopt WarningHandlerWithContext (#3176)
- logging: Improve logging by adopting contextual logging (#3149)
- metrics: Adopt native histograms (#3165)
- metrics: Expose all Go runtime metrics (#3070)
:bug: Bug Fixes
- apiutil: restmapper: Respect preferred version (#3151)
- builder: webhook: Fix custom path for webhook conflicts (#3102)
- cache: Clone maps to prevent data races when concurrently creating caches using the same options (#3078)
- cache: Stop accumulating lists in multi-namespace cache implementation (#3195)
- cache: List out of global cache when present and necessary (#3126)
- client: Return error if pagination is used with the cached client (#3134)
- controller: Support WaitForSync in TypedSyncingSource (#3084)
- controller: priority queue: Fix behavior of rate limit option in priorityqueue.AddWithOpts (#3103)
- controller: priority queue: Yet another queue_depth metric fix (#3085)
- controllerutil: CreateOrUpdate: Avoid panic when the MutateFn is nil (#2828)
- envtest: Fix nil pointer exception in Stop() (#3153)
- fake client: Fix data races when writing to the scheme (#3143)
... (truncated)
Commits
71f7db5Merge pull request #3225 from troy0820/troy0820/prepare-for-0.21-release52d8779update README with go versionab37f74Merge pull request #3223 from troy0820/troy0820/return-warnings-on-webhooks250a88freturn warnings on webhooks85ee7a9Merge pull request #3217 from kubernetes-sigs/dependabot/github_actions/all-g...81f1fae:seedling: Bump the all-github-actions group across 1 directory with 3 updatesd9a2274Merge pull request #3187 from dongjiang1989/update-golangci-lint-v29c38211update golangci-lint to v29b5f6a7Merge pull request #3208 from troy0820/troy0820/api-machinery-marshalb3278dfuse sigs.k8s.io/json to unmarshal in fakeclient- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Hi @dependabot[bot]. Thanks for your PR.
I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
@dependabot recreate
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: dependabot[bot], shaneutt
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [shaneutt]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
New changes are detected. LGTM label has been removed.