Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update module sigs.k8s.io/controller-runtime to v0.18.2 #131

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 6, 2022

Mend Renovate

This PR contains the following updates:

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

Release Notes

kubernetes-sigs/controller-runtime (sigs.k8s.io/controller-runtime)

v0.18.2

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.18.1...v0.18.2

v0.18.1

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.18.0...v0.18.1

v0.18.0

Compare Source

⚠️ Breaking Changes

✨ New Features

  • cache: Add TransformStripManagedFields transform func (#​2791)
  • client: Add client.WithFieldOwner to configure client-wide FieldManager (#​2771 #​2777)
  • controller: Add NewQueue option (#​2767)
  • manager: Export HTTP server runnable implementation (#​2473)
  • metrics/server: Add ListenConfig option (#​2519)

🐛 Bug Fixes

  • builder/webhook: Return error if For() is used multiple times (#​2740)
  • cache: Keep selectors when byObject.Namespaces is defaulted (#​2747)
  • cache: Prevent race when informers are started more than once (#​2758)
  • fake client: Allow fakeclient to patch CR with no resourceVersion (#​2725)
  • fake client: Do not consider an apply patch to be a strategic merge patch (#​2679)
  • manager: Prevent leader election when shutting down a non-elected manager (#​2724)
  • manager: Runnable group should check if stopped before enqueueing (#​2757)
  • restmapper: Clean restmapper cache if a version is notFound (#​2663)
  • restmapper: Fix cache invalidation (#​2687)

🌱 Others

  • ci: Add OSSF scorecard action (#​2714)
  • ci: Improve github actions dependencies versions and permissions (#​2715)
  • ci: Pin checkout action in golangci-lint action, bump checkout action, use consistent tag format (#​2729)
  • ci: Update golangci-lint to v1.57.2 (#​2708 #​2751)
  • ci: Update scorecard github action (#​2728)
  • ci: Use go-install for versioned dependencies (#​2710)
  • envtest: WaitForDefaultNamespace while starting up envtest (#​2668)
  • owners: Cleanup owners files (#​2730)
  • owners: Remove outdated testing framework approvers (#​2709)
  • predicate: Compare labels and annotations using maps.Equal (#​2705)
  • typos: Fix typo of CacheReader comment (#​2773)
  • typos: Fix typo in channel option (#​2792)
  • typos: Minor typo fixes in docstrings (#​2727)

📖 Additionally, there have been 3 contributions to our documentation and book. (#​2712, #​2770, #​2789)

Dependencies

Added
Changed
  • github.com/evanphx/json-patch/v5: v5.8.0 → v5.9.0
  • github.com/golang/protobuf: v1.5.3 → v1.5.4
  • github.com/google/cel-go: v0.17.7 → v0.17.8
  • github.com/onsi/ginkgo/v2: v2.14.0 → v2.17.1
  • github.com/onsi/gomega: v1.30.0 → v1.32.0
  • github.com/prometheus/client_golang: v1.18.0 → v1.16.0
  • github.com/prometheus/client_model: v0.5.0 → v0.4.0
  • github.com/prometheus/common: 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: 2dd684a70dd376
  • 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
  • go.uber.org/atomic: v1.10.0
  • k8s.io/gengo: 9cce18d

Thanks to all our contributors! 😊

v0.17.5

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.17.4...v0.17.5

v0.17.4

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.17.3...v0.17.4

v0.17.3

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.17.2...v0.17.3

v0.17.2

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.17.1...v0.17.2

v0.17.1

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.17.0...v0.17.1

v0.17.0

Compare Source

⚠️ Breaking Changes

  • Fake client: Only set TypeMeta for unstructured (#​2633)
  • Update k8s.io/* deps to 1.29 (#​2457 #​2500 #​2553 #​2588 #​2612 #​2615 #​2621)
  • Remove apiutil.NewDiscoveryRESTMapper, use DynamicRESTMapper by default for cache (#​2611)
  • RESTMapper: don't treat non-existing GroupVersions as errors (#​2571)
  • Webhooks: Deprecate admission.Validator and admission.Defaulter (#​2639)
  • Webhooks: Limit size of AdmissionRequests to 7MB and size of TokenReviews to 1MB (#​2598)

✨ New Features

  • Cache: Allow defining options that apply to all namespaces without explicit config (#​2528)
  • Cache: Allow to remove informers (#​2285)
  • Cache: Add option to set WatchErrorHandler on informers (#​2494)
  • Client: client.MatchingFields now supports multiple indexes (#​2512)
  • Fake client: Add flowcontrol api v1 (#​2623)
  • Reconciler: Add reconcile.ObjectReconciler (#​2592)

🐛 Bug Fixes

  • Add corev1, coordinationv1 scheme for leader election when LeaderElection manager option is true (#​2461)
  • Cache: Default namespace only for namespaced object (#​2480)
  • Client: Don't truncate large int64s in MergePatch (#​2650)
  • controllerutil: Add RemoveControllerReference and HasControllerReference func (#​2509 #​2595)
  • controllerutil: Add RemoveOwnerReference func (#​2462)
  • Dependencies: Refactor tests to drop hard otel dependency (#​2460)
  • Envtest: CRDs that aren't convertible should unset spec.conversion (#​2525)
  • Fake client: Correctly identify if patch call was made on status (#​2508)
  • Fake client: Do not update anything but status when using subresource client (#​2479)
  • Fake client: Fix returning object after status update (#​2489)
  • Fake client: Fix status subresource getting updated on Update when it is empty (#​2484)
  • Fake client: Handle unstructured status update with fake client (#​2495)
  • Manager: Fix goroutine leak (#​2527)
  • Manager: Use HTTP client from leaderElectionConfig for leader election recorder provider (#​2464)
  • RESTMapper: Return NoResourceMatchError when appropriate for backwards compatibility. (#​2472)
  • Webhook: Handle http.NoBody (#​2605)

🌱 Others

  • Client: Make client.MatchingLabels faster (#​2529)
  • Envtest: Allow to ignore scheme.Convertible check for CRDs (#​2555)
  • Envtest: Improve process cleanup (#​2560)
  • Metrics: Add 100/1000s buckets for Prometheus workqueue histograms (#​2638)
  • Metrics: Avoid dependency on apiserver/options if metrics/filters are used (#​2645)
  • Replace k8s.io/utils/pointer with k8s.io/utils/ptr (#​2488)
  • Webhooks: Cleanup webhook variable assignment (#​2604)

🌱 Dependencies

📖 Additionally, there have been 5 contributions to our documentation. (#​2497, #​2498, #​2538, #​2599, #​2602, #​2635 #​2647)

Thanks to all our contributors! 😊

v0.16.6

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.16.5...v0.16.6

v0.16.5

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.16.4...v0.16.5

v0.16.4

Compare Source

What's Changed

New Contributors

Full Changelog: kubernetes-sigs/controller-runtime@v0.16.3...v0.16.4

v0.16.3

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.16.2...v0.16.3

v0.16.2

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.16.1...v0.16.2

v0.16.1

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.16.0...v0.16.1

v0.16.0

Compare Source

Highlights

Changes since v0.15

⚠️ Breaking Changes
✨ New Features
🐛 Bug Fixes
🌱 Others
📖 Documentation and proposals
📈 Dependencies

Thanks to all our contributors! 😊

Full Changelog: kubernetes-sigs/controller-runtime@v0.15.0...v0.16.0

v0.15.3

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.15.2...v0.15.3

v0.15.2

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.15.1...v0.15.2

v0.15.1

Compare Source

What's Changed

Full Changelog: kubernetes-sigs/controller-runtime@v0.15.0...v0.15.1

v0.15.0

Compare Source

Controller Runtime v0.15

A note from the maintainers

The following release is probably the largest in the history of the project. Controller Runtime is a foundational piece for almost all controllers and operators and we're aware that breaking changes are never an ask for our users, especially while running production services.

We take breaking changes very seriously and carefully reviewed each one of these changes to improve the codebase, user experience, and future maintainability of the project.

The v0.15 release is a stepping stone towards maturity.

As always, please reach out in Slack in #controller-runtime.

Changes since v0.14.5

⚠️ Breaking Changes

  • Make *http.Client configurable and use/share the same client by default (#​2122)
    • When using the default Manager configuration, no immediate changes are needed.
    • client/apiutil.NewDynamicRESTMapper signature has changed and now requires an *http.Client as parameter.
    • cluster.Cluster interface requires GetHTTPClient() method which must return an already configured, non-nil, *http.Client for the Cluster. When using cluster.New to create Clusters, the client is created internally if not specified as an Options field.
    • cluster.Options.MapperProvider field now requires a *rest.Config and *http.Client.
  • Deprecate Component Configuration config/v1alpha1 types (#​2149, #​2200)
    • The Component Configuration package has been unmaintained for over a year and is no longer actively developed. There are (currently) no plans to revive the package, or provide an alternative.
    • Users should migrate to a custom implementation that sets Manager.Options directly.
    • 👉 Feedback requested: removal of the deprecated types and code is tracked in #​895.
  • Remove dependency injection functions (#​2134, #​2120)
    • The package pkg/inject has been removed, this package contained long deprecated injection functions (like InjectScheme, InjectLogger, InjectConfig, InjectClient, InjectCache, etc.).
    • The runtime injection functionality has been deprecated since Controller Runtime 0.10; all of the above fields can be passed from the Manager to structs or interfaces that need them.
  • Improve builder package capabilities and general UX (#​2135)
    • builder.Builder.Watches signature has changed, it now takes a client.Object instead of a source.Source as first argument.
      • For source.Source, use WatchesRawSource.
    • builder.Builder.WatchesMetadata has been added to simplify watching PartialObjectMetadata objects.
  • Refactor cache.Options, deprecate MultiNamespacedCacheBuilder (#​2157, #​2166)
    • cache.Options.Namespace has been removed in favor of cache.Options.Namespaces, a slice.
    • cache.Options.Resync has been renamed to SyncPeriod.
    • cache.Options.DefaultSelector has been removed and split in two fields:
      • cache.Options.DefaultLabelSelector
      • cache.Options.DefaultFieldSelector
    • cache.Options.DefaultTransform was added to provide a global transform function.
    • cache.Options.UnsafeDisableDeepCopy was added to provide a global toggle to disable DeepCopy of the objects from the cache before returning them to clients.
    • The following [..]ByObject field have been refactored:
      • cache.Options.SelectorsByObject has been removed, use cache.Options.ByObject[Object].Field and cache.Options.ByObject[Object].Label
      • cache.Options.UnsafeDisableDeepCopyByObject has been removed, use cache.Options.ByObject[Object].UnsafeDisableDeepCopy.
      • cache.Options.TransformByObject has been removed, use cache.Options.ByObject[Object].Transform.
    • cache.ObjectAll has been removed. This type was previously used to set selectors or transformation functions for every object, use the newly introduced default global options instead.
  • Add context to EventHandler(s) (#​2139)
    • handler.EventHandler and handler.Funcs interfaces require context.Context as the first parameter for every method.
    • handler.MapFunc signature has changed and now requires a context.Context.
  • Add client.{GroupVersionKindFor, IsObjectNamespaced} (#​2136)
    • The client.Client interface now requires and exposes these helper functions:
      • GroupVersionKindFor(Object) which returns the schema.GroupVersionKind for the object.
      • IsObjectNamespaced(Object) which returns true if the object's GroupVersionKind is namespaced, or false for global ones.
  • Remove DelegatedClient, move all related options in client.New (#​2150)
    • client.NewDelegatingClient constructor and client.NewDelegatingClientInput struct have been removed.
      • The DelegatingClient created a Client backed by a cache, use client.New and set client.Options.Cache to customize the client's caching behavior.
    • cluster.NewClientFunc has been moved to client.NewClientFunc.
    • cluster.ClientOptions has been removed.
    • cluster.DefaultNewClient has been removed.
    • cluster.ClientBuilderWithOptions has been removed.
  • Expose Manager.Cache/Client options, deprecate older options (#​2199, #​2177)
    • manager.Options.Cache is now the preferred way to customize the cache options for the manager.
      • Users can also keep using manager.Options.NewCache, which has now been marked as a low level primitive.
    • manager.Options.Client is now the preferred way to customize the client options for the manager.
      • Users can also keep using manager.Options.NewClient, which has now been marked as a low level primitive.
    • manager.Options.SyncPeriod has been deprecated in favor of manager.Options.Cache.SyncPeriod.
    • manager.Options.Namespace has been deprecated in favor of manager.Options.Cache.Namespaces.
    • manager.Options.DryRunClient has been deprecated in favor of manager.Options.Client.DryRun.
    • manager.Options.ClientDisableCacheFor has been deprecated in favor of manager.Options.Client.Cache.DisableCacheFor.
    • The following webhook server options have been deprecated, use manager.WebhookServer instead.
      • manager.Options.Port
      • manager.Options.Host
      • manager.Options.CertDir
      • manager.Options.TLSOpts
  • Remove cache.BuilderWithOptions (#​2300)
  • Add constructors for webhook/conversion, remove webhook/admission.GetDecoder() (#​2144)
    • There are two set of changes related to the webhooks and how they're exposed. For users using the Manager, there should be minimal to no required changes.
    • webhook/admission/Webhook.GetDecoder() method has been removed, it was unused before and relied on runtime dependency injection.
    • webhook/conversion.Webhook struct has been un-exported. Users should use webhook/conversion.NewWebhookHandler instead.
  • pkg/webhook/admission:
    • Use Result.Message instead of Result.Reason (#​1539)
    • Validator and CustomValidator interfaces have been modified to allow returning warnings (#​2014)
  • Testing: Fake client status handling (#​2259)
    • Added a new WithStatusSubresource option and pre-populating it with
      all in-tree resources that have a status subresource
    • Update and Patch methods now don't change the status for any such
      resource anymore
    • The status clients

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependency Depedency update label Jul 6, 2022
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.12.3 Update module sigs.k8s.io/controller-runtime to v0.13.0 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 287b5e8 to b7f2d11 Compare September 25, 2022 16:56
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.13.0 Update module sigs.k8s.io/controller-runtime to v0.13.1 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from b7f2d11 to f7ae897 Compare November 20, 2022 16:41
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.13.1 Update module sigs.k8s.io/controller-runtime to v0.14.5 Mar 18, 2023
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from f7ae897 to c69cf1d Compare March 18, 2023 10:01
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.14.5 Update module sigs.k8s.io/controller-runtime to v0.14.6 Mar 29, 2023
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from c69cf1d to f97d3eb Compare March 29, 2023 23:27
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.14.6 Update module sigs.k8s.io/controller-runtime to v0.15.0 May 28, 2023
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from f97d3eb to 7c079fc Compare May 28, 2023 12:19
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 7c079fc to db23a18 Compare August 3, 2023 09:36
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.15.0 Update module sigs.k8s.io/controller-runtime to v0.15.1 Aug 4, 2023
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from db23a18 to 7910329 Compare August 4, 2023 18:49
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.15.1 Update module sigs.k8s.io/controller-runtime to v0.16.0 Aug 22, 2023
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 7910329 to 6e9456a Compare August 22, 2023 16:45
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.16.0 Update module sigs.k8s.io/controller-runtime to v0.16.1 Aug 31, 2023
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 6e9456a to ee0e5fc Compare August 31, 2023 18:41
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.16.1 Update module sigs.k8s.io/controller-runtime to v0.16.2 Sep 12, 2023
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from ee0e5fc to e683843 Compare September 12, 2023 17:12
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.16.2 Update module sigs.k8s.io/controller-runtime to v0.16.3 Oct 18, 2023
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from e683843 to dbb8f9f Compare October 18, 2023 21:45
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch 8 times, most recently from 577cbdf to 68a2aa6 Compare October 27, 2023 09:48
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 68a2aa6 to 0f77c09 Compare October 27, 2023 09:52
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 0f77c09 to f2519b8 Compare January 16, 2024 11:42
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.16.3 Update module sigs.k8s.io/controller-runtime to v0.17.0 Jan 16, 2024
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from f2519b8 to 06f65d9 Compare February 9, 2024 09:52
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.17.0 Update module sigs.k8s.io/controller-runtime to v0.17.1 Feb 9, 2024
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 06f65d9 to 95a2ff7 Compare February 15, 2024 21:01
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.17.1 Update module sigs.k8s.io/controller-runtime to v0.17.2 Feb 15, 2024
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 95a2ff7 to c1978c9 Compare April 8, 2024 21:20
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.17.2 Update module sigs.k8s.io/controller-runtime to v0.17.3 Apr 8, 2024
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from c1978c9 to 68e714f Compare April 24, 2024 17:32
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.17.3 Update module sigs.k8s.io/controller-runtime to v0.18.0 Apr 24, 2024
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 68e714f to 3caeeb8 Compare May 2, 2024 00:09
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.18.0 Update module sigs.k8s.io/controller-runtime to v0.18.1 May 2, 2024
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 3caeeb8 to 8657cb3 Compare May 6, 2024 22:19
@renovate renovate bot changed the title Update module sigs.k8s.io/controller-runtime to v0.18.1 Update module sigs.k8s.io/controller-runtime to v0.18.2 May 6, 2024
@renovate renovate bot force-pushed the renovate/sigs.k8s.io-controller-runtime-0.x branch from 8657cb3 to d170247 Compare May 9, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Depedency update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants