Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump sigs.k8s.io/controller-runtime from 0.14.6 to 0.15.0 in /instrum…
…entor (#213) Bumps [sigs.k8s.io/controller-runtime](https://github.com/kubernetes-sigs/controller-runtime) from 0.14.6 to 0.15.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/kubernetes-sigs/controller-runtime/releases">sigs.k8s.io/controller-runtime's releases</a>.</em></p> <blockquote> <h2>v0.15.0</h2> <h1>Controller Runtime v0.15</h1> <blockquote> <p><em>A note from the maintainers</em></p> <p>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.</p> <p>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.</p> <p>The v0.15 release is a stepping stone towards maturity.</p> <p>As always, please reach out in Slack in #controller-runtime.</p> </blockquote> <h2>Changes since v0.14.5</h2> <h2>:warning: Breaking Changes</h2> <ul> <li>Make <code>*http.Client</code> configurable and use/share the same client by default (<a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2122">#2122</a>) <ul> <li>When using the default Manager configuration, no immediate changes are needed.</li> <li><code>client/apiutil.NewDynamicRESTMapper</code> signature has changed and now requires an <code>*http.Client</code> as parameter.</li> <li><code>cluster.Cluster</code> interface requires <code>GetHTTPClient()</code> method which must return an already configured, non-nil, <code>*http.Client</code> for the Cluster. When using <code>cluster.New</code> to create Clusters, the client is created internally if not specified as an <code>Options</code> field.</li> <li><code>cluster.Options.MapperProvider</code> field now requires a <code>*rest.Config</code> and <code>*http.Client</code>.</li> </ul> </li> <li>Deprecate Component Configuration <code>config/v1alpha1</code> types (<a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2149">#2149</a>, <a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2200">#2200</a>) <ul> <li>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.</li> <li>Users should migrate to a custom implementation that sets <code>Manager.Options</code> directly.</li> <li>👉 Feedback requested: removal of the deprecated types and code is tracked in <a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/895">#895</a>.</li> </ul> </li> <li>Remove dependency injection functions (<a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2134">#2134</a>, <a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2120">#2120</a>) <ul> <li>The package <code>pkg/inject</code> has been removed, this package contained long deprecated injection functions (like <code>InjectScheme</code>, <code>InjectLogger</code>, <code>InjectConfig</code>, <code>InjectClient</code>, <code>InjectCache</code>, etc.).</li> <li>The runtime injection functionality has been deprecated since Controller Runtime 0.10; all of the above fields can be passed from the <code>Manager</code> to structs or interfaces that need them.</li> </ul> </li> <li>Improve <code>builder</code> package capabilities and general UX (<a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2135">#2135</a>) <ul> <li><code>builder.Builder.Watches</code> signature has changed, it now takes a <code>client.Object</code> instead of a <code>source.Source</code> as first argument. <ul> <li>For <code>source.Source</code>, use <code>WatchesRawSource</code>.</li> </ul> </li> <li><code>builder.Builder.WatchesMetadata</code> has been added to simplify watching <code>PartialObjectMetadata</code> objects.</li> </ul> </li> <li>Refactor cache.Options, deprecate MultiNamespacedCacheBuilder (<a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2157">#2157</a>, <a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2166">#2166</a>) <ul> <li><code>cache.Options.Namespace</code> has been removed in favor of <code>cache.Options.Namespaces</code>, a slice.</li> <li><code>cache.Options.Resync</code> has been renamed to <code>SyncPeriod</code>.</li> <li><code>cache.Options.DefaultSelector</code> has been removed and split in two fields: <ul> <li><code>cache.Options.DefaultLabelSelector</code></li> <li><code>cache.Options.DefaultFieldSelector</code></li> </ul> </li> <li><code>cache.Options.DefaultTransform</code> was added to provide a global transform function.</li> <li><code>cache.Options.UnsafeDisableDeepCopy</code> was added to provide a global toggle to disable DeepCopy of the objects from the cache before returning them to clients.</li> <li>The following <code>[..]ByObject</code> field have been refactored: <ul> <li><code>cache.Options.SelectorsByObject</code> has been removed, use <code>cache.Options.ByObject[Object].Field</code> and <code>cache.Options.ByObject[Object].Label</code></li> <li><code>cache.Options.UnsafeDisableDeepCopyByObject</code> has been removed, use <code>cache.Options.ByObject[Object].UnsafeDisableDeepCopy</code>.</li> <li><code>cache.Options.TransformByObject</code> has been removed, use <code>cache.Options.ByObject[Object].Transform</code>.</li> </ul> </li> <li><code>cache.ObjectAll</code> 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.</li> </ul> </li> <li>Add context to EventHandler(s) (<a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2139">#2139</a>) <ul> <li><code>handler.EventHandler</code> and <code>handler.Funcs</code> interfaces require <code>context.Context</code> as the first parameter for every method.</li> <li><code>handler.MapFunc</code> signature has changed and now requires a <code>context.Context</code>.</li> </ul> </li> <li>Add client.{GroupVersionKindFor, IsObjectNamespaced} (<a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2136">#2136</a>) <ul> <li>The <code>client.Client</code> interface now requires and exposes these helper functions:</li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/116a1b831fffe7ccc3c8145306c3e1a3b1b14ffa"><code>116a1b8</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2340">#2340</a> from kubernetes-sigs/dependabot/go_modules/github.co...</li> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/96bf7c353ff14c90d7e4a13811c238fbfc23c341"><code>96bf7c3</code></a> :seedling: Bump github.com/onsi/gomega from 1.27.6 to 1.27.7</li> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/f9a3164e92d82eb0eae804a9505af4b5dc05ef8f"><code>f9a3164</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2338">#2338</a> from howardjohn/mod/bump-jsonpatch</li> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/73ae72f4847662324046481a0e2fdc93ff1ca939"><code>73ae72f</code></a> :seedling: bump jsonpatch to v2.3.0</li> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/e7b94074ad3814832bbd5f254bb9c5c16a286a35"><code>e7b9407</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2334">#2334</a> from sbueringer/pr-webhook-log-levels</li> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/babed98da19aef54d36e20509b11d540bfe1d5bd"><code>babed98</code></a> Reduce webhook log verbosity</li> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/260b822e9daa53b2ddec007ec48359e38a3ef797"><code>260b822</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2333">#2333</a> from lucacome/tests-0.27.2</li> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/c8b911bce1831911f5c7b4824660522b9d3ea314"><code>c8b911b</code></a> Re-enable tests for v0.27.2</li> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/1fe22d0b38b0bab42383d0e8fdfe9ab01f8d723b"><code>1fe22d0</code></a> Merge pull request <a href="https://redirect.github.com/kubernetes-sigs/controller-runtime/issues/2330">#2330</a> from lucacome/bump-k8s.io-deps</li> <li><a href="https://github.com/kubernetes-sigs/controller-runtime/commit/0cc8dd8248ad05d980520526ec713a8fe47e2600"><code>0cc8dd8</code></a> Bump k8s.io dependencies</li> <li>Additional commits viewable in <a href="https://github.com/kubernetes-sigs/controller-runtime/compare/v0.14.6...v0.15.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sigs.k8s.io/controller-runtime&package-manager=go_modules&previous-version=0.14.6&new-version=0.15.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information