Skip to content

Commit

Permalink
Bump kube-runtime from 0.80.0 to 0.82.0 in /cmd/pinniped-proxy (#6177)
Browse files Browse the repository at this point in the history
Bumps [kube-runtime](https://github.com/kube-rs/kube) from 0.80.0 to
0.82.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/kube-rs/kube/releases">kube-runtime's
releases</a>.</em></p>
<blockquote>
<h2>0.82.0</h2>
<!-- raw HTML omitted -->
<h2>Dependency Updates</h2>
<p>This release brings in the new <a
href="https://github.com/Arnavion/k8s-openapi/releases/tag/v0.18.0"><code>k8s-openapi</code>
release</a>.
Be sure to upgrade <code>k8s-openapi</code> and <code>kube</code>
<strong>simultaneously</strong> to avoid multiple version errors:</p>
<pre lang="sh"><code>cargo upgrade -p k8s-openapi -p kube -i
</code></pre>
<h2>What's Changed</h2>
<h3>Changed</h3>
<ul>
<li>Bump <code>serde_yaml</code> to 0.9 by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1188">kube-rs/kube#1188</a></li>
<li>Bump <code>k8s-openapi</code> to 0.18.0 by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1190">kube-rs/kube#1190</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/kube-rs/kube/compare/0.81.0...0.82.0">https://github.com/kube-rs/kube/compare/0.81.0...0.82.0</a></p>
<h2>0.81.0</h2>
<!-- raw HTML omitted -->
<h2>Highlights</h2>
<h3>List/Watch Changes</h3>
<p>One big change is the splitting of <code>ListParams</code> into
<code>ListParams</code> and <code>WatchParams</code> in <a
href="https://redirect.github.com/kube-rs/kube/issues/1162">#1162</a>
and <a
href="https://redirect.github.com/kube-rs/kube/issues/1171">#1171</a>.
If you were using <code>api.list</code> directly, this should not affect
you, but <code>api.watch</code> calls will need a replace of
<code>ListParams</code> to <code>WatchParams</code>. Apart from the
resulting field splitting, the two structs still have a mostly
compatible api.</p>
<p>If you were passing <code>ListParams</code> to <code>watcher</code>
or <code>Controller</code>, you can change this for a new
<code>watcher::Config</code> with a mostly compatible interface:</p>
<pre lang="diff"><code>- let stream = watcher(api,
ListParams::default());
+    let stream = watcher(api, watcher::Config::default());
</code></pre>
<p>The reason for this change has been to add support for specific <a
href="https://kubernetes.io/docs/reference/using-api/api-concepts/#semantics-for-get-and-list">version
match strategies</a> and has new builders on both
<code>ListParams</code> and <code>watcher::Config</code> to control the
strategy. Using the new <code>VersionMatch::NotOlderThan</code> can
reduce strain on the apiserver for individual <code>api.list</code>
calls. Watchers will benefit the most from this, and <strong>should
consider</strong> using the semantic <code>Any</code> strategy (=
<code>NotOlderThan</code> with version &quot;0&quot;) on all relists by
setting <code>watcher::Config::any_semantic()</code>.</p>
<h3>rustls</h3>
<p>This release closes <a
href="https://github.com/kube-rs/kube/labels/rustls">all our rustls
issues</a> as a consequence of the long standing IP address
incompatibility (<a
href="https://redirect.github.com/kube-rs/kube/issues/153">#153</a>)
having been resolved upstream. All <code>rustls</code> specific
overrides (such as using the deprecated <code>incluster_dns</code>
strategy for configuration <a
href="https://redirect.github.com/kube-rs/kube/issues/1184">#1184</a>)
have been removed as a result.</p>
<h3>Controller streams</h3>
<p>Multiple new <code>runtime</code> features have been added to be able
to more precisely control the input streams used by
<code>Controller</code> a starting step towards stream sharing (<a
href="https://redirect.github.com/kube-rs/kube/issues/1080">#1080</a>)
and as a way to reduce excess input events. Because these interfaces are
likely to remain in flux for some time, these are only available under
<a
href="https://github.com/kube-rs/kube/blob/main/kube-runtime/Cargo.toml#L17-L21">unstable
feature flags</a>.</p>
<h2>What's Changed</h2>
<h3>Added</h3>
<ul>
<li>Add <code>predicates</code> to allow filtering <code>watcher</code>
streams by <a href="https://github.com/clux"><code>@​clux</code></a> in
<a
href="https://redirect.github.com/kube-rs/kube/pull/911">kube-rs/kube#911</a></li>
<li>Add <code>Controller::owns_stream</code> by <a
href="https://github.com/Dav1dde"><code>@​Dav1dde</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1173">kube-rs/kube#1173</a></li>
<li>Add <code>Controller::for_stream</code> +
<code>Controller::watches_stream</code> by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1187">kube-rs/kube#1187</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Split <code>ListParams</code> and <code>WatchParams</code> by <a
href="https://github.com/nabokihms"><code>@​nabokihms</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1162">kube-rs/kube#1162</a></li>
<li>Make <code>VersionMatch</code> follow upstream + configure list
semantics in <code>watcher::Config</code> by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1171">kube-rs/kube#1171</a></li>
<li>kube-derive: Disable <code>option_nullable</code> for CRD generation
by <a href="https://github.com/Dav1dde"><code>@​Dav1dde</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1079">kube-rs/kube#1079</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/kube-rs/kube/blob/main/CHANGELOG.md">kube-runtime's
changelog</a>.</em></p>
<blockquote>
<h1><a
href="https://github.com/kube-rs/kube/releases/tag/0.82.0">0.82.0</a> /
2023-04-08</h1>
<!-- raw HTML omitted -->
<h2>Dependency Updates</h2>
<p>This release brings in the new <a
href="https://github.com/Arnavion/k8s-openapi/releases/tag/v0.18.0"><code>k8s-openapi</code>
release</a>.
Be sure to upgrade <code>k8s-openapi</code> and <code>kube</code>
<strong>simultaneously</strong> to avoid multiple version errors:</p>
<pre lang="sh"><code>cargo upgrade -p k8s-openapi -p kube -i
</code></pre>
<h2>What's Changed</h2>
<h3>Changed</h3>
<ul>
<li>Bump <code>serde_yaml</code> to 0.9 by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1188">kube-rs/kube#1188</a></li>
<li>Bump <code>k8s-openapi</code> to 0.18.0 by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1190">kube-rs/kube#1190</a></li>
</ul>
<h1><strong>Full Changelog</strong>: <a
href="https://github.com/kube-rs/kube/compare/0.81.0...0.82.0">https://github.com/kube-rs/kube/compare/0.81.0...0.82.0</a>
<a href="https://github.com/kube-rs/kube/releases/tag/0.81.0">0.81.0</a>
/ 2023-04-07</h1>
<!-- raw HTML omitted -->
<h2>Highlights</h2>
<h3>List/Watch Changes</h3>
<p>One big change is the splitting of <code>ListParams</code> into
<code>ListParams</code> and <code>WatchParams</code> in <a
href="https://redirect.github.com/kube-rs/kube/issues/1162">#1162</a>
and <a
href="https://redirect.github.com/kube-rs/kube/issues/1171">#1171</a>.
If you were using <code>api.list</code> directly, this should not affect
you, but <code>api.watch</code> calls will need a replace of
<code>ListParams</code> to <code>WatchParams</code>. Apart from the
resulting field splitting, the two structs still have a mostly
compatible api.</p>
<p>If you were passing <code>ListParams</code> to <code>watcher</code>,
you can change this for a new <code>watcher::Config</code> with a mostly
compatible interface:</p>
<pre lang="diff"><code>- let stream = watcher(api,
ListParams::default());
+    let stream = watcher(api, watcher::Config::default());
</code></pre>
<p>The reason for this change has been to add support for specific <a
href="https://kubernetes.io/docs/reference/using-api/api-concepts/#semantics-for-get-and-list">version
match strategies</a> and has new builders on both
<code>ListParams</code> and <code>watcher::Config</code> to control the
strategy. Using the new <code>VersionMatch::NotOlderThan</code> can
reduce strain on the apiserver for individual <code>api.list</code>
calls. Watchers will benefit the most from this, and <strong>should
consider</strong> using the semantic <code>Any</code> strategy (=
<code>NotOlderThan</code> with version &quot;0&quot;) on all relists by
setting <code>watcher::Config::any_semantic()</code>.</p>
<h3>rustls</h3>
<p>This release closes <a
href="https://github.com/kube-rs/kube/labels/rustls">all our rustls
issues</a> as a consequence of the long standing IP address
incompatibility (<a
href="https://redirect.github.com/kube-rs/kube/issues/153">#153</a>)
having been resolved upstream. All <code>rustls</code> specific
overrides (such as using the deprecated <code>incluster_dns</code>
strategy for configuration <a
href="https://redirect.github.com/kube-rs/kube/issues/1184">#1184</a>)
have been removed as a result.</p>
<h3>Controller streams</h3>
<p>Multiple new <code>runtime</code> features have been added to be able
to more precisely control the input streams used by
<code>Controller</code> a starting step towards stream sharing (<a
href="https://redirect.github.com/kube-rs/kube/issues/1080">#1080</a>)
and as a way to reduce excess input events. Because these interfaces are
likely to remain in flux for some time, these are only available under
<a
href="https://github.com/kube-rs/kube/blob/main/kube-runtime/Cargo.toml#L17-L21">unstable
feature flags</a>.</p>
<h2>What's Changed</h2>
<h3>Added</h3>
<ul>
<li>Add <code>predicates</code> to allow filtering <code>watcher</code>
streams by <a href="https://github.com/clux"><code>@​clux</code></a> in
<a
href="https://redirect.github.com/kube-rs/kube/pull/911">kube-rs/kube#911</a></li>
<li>Add <code>Controller::owns_stream</code> by <a
href="https://github.com/Dav1dde"><code>@​Dav1dde</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1173">kube-rs/kube#1173</a></li>
<li>Add <code>Controller::for_stream</code> +
<code>Controller::watches_stream</code> by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1187">kube-rs/kube#1187</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Split <code>ListParams</code> and <code>WatchParams</code> by <a
href="https://github.com/nabokihms"><code>@​nabokihms</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1162">kube-rs/kube#1162</a></li>
<li>Make <code>VersionMatch</code> follow upstream + configure list
semantics in <code>watcher::Config</code> by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://redirect.github.com/kube-rs/kube/pull/1171">kube-rs/kube#1171</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/kube-rs/kube/commit/221ebfaa3156da6f63b01208540942ae973f0921"><code>221ebfa</code></a>
release 0.82.0</li>
<li><a
href="https://github.com/kube-rs/kube/commit/df520849db95916b951f586b6a81009f184acb37"><code>df52084</code></a>
Bump <code>k8s-openapi</code> to 0.18.0 (<a
href="https://redirect.github.com/kube-rs/kube/issues/1190">#1190</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/111f2bc10f20a6be59f01abe1c3c26f7c0626e1f"><code>111f2bc</code></a>
Bump <code>serde_yaml</code> to 0.9 (<a
href="https://redirect.github.com/kube-rs/kube/issues/1188">#1188</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/c30b376a3a79dbfd04d5e4354d4e5a5324bf2596"><code>c30b376</code></a>
changelog for 0.81</li>
<li><a
href="https://github.com/kube-rs/kube/commit/033bbe985415e53ee209e90e8ebf7d8498ca1a30"><code>033bbe9</code></a>
release 0.81.0</li>
<li><a
href="https://github.com/kube-rs/kube/commit/740111f37ea5b25acc1cb0df9e2cf49a01546416"><code>740111f</code></a>
Add <code>Controller::for_stream</code> +
<code>Controller::watches_stream</code> (<a
href="https://redirect.github.com/kube-rs/kube/issues/1187">#1187</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/2968e3e96fa1a9ad09c1bae39eecab59d2a3df80"><code>2968e3e</code></a>
kube-derive: Disable <code>option_nullable</code> for CRD generation (<a
href="https://redirect.github.com/kube-rs/kube/issues/1079">#1079</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/36dcdaaad178d4f6cbe0bd7513d9608bfcf09bb6"><code>36dcdaa</code></a>
Avoid special <code>Config::incluster</code> behavior for
<code>rustls</code> (<a
href="https://redirect.github.com/kube-rs/kube/issues/1184">#1184</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/59141648bba7bf38998a714b6dfee807f5a5368c"><code>5914164</code></a>
Fix: tower buffer's worker closed unexpectedly (<a
href="https://redirect.github.com/kube-rs/kube/issues/1185">#1185</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/752d9d36935f2fba560136a27bfb72f4e6109130"><code>752d9d3</code></a>
Run <code>rustls</code> CI against IP cluster address (<a
href="https://redirect.github.com/kube-rs/kube/issues/1183">#1183</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/kube-rs/kube/compare/0.80.0...0.82.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=kube-runtime&package-manager=cargo&previous-version=0.80.0&new-version=0.82.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>
Signed-off-by: Michael Nelson <minelson@vmware.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michael Nelson <minelson@vmware.com>
  • Loading branch information
dependabot[bot] and absoludity committed Apr 14, 2023
1 parent c0ea0e4 commit 7e247fa
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 34 deletions.
59 changes: 29 additions & 30 deletions cmd/pinniped-proxy/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions cmd/pinniped-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ chrono = { version = "0.4.24", default-features = false, features = ["clock", "s
env_logger = "0.10"
hyper = { version = "0.14", features = ["server"] }
hyper-tls = "0.5"
kube = { version = "0.80.0" }
kube-derive = { version = "0.80.0"}
kube-runtime = "0.80.0"
k8s-openapi = { version = "0.17.0", default-features = false}
kube = { version = "0.82.0" }
kube-derive = { version = "0.82.0"}
kube-runtime = "0.82.0"
k8s-openapi = { version = "0.18.0", default-features = false}
log = "0.4"
native-tls = "0.2"
openssl = "0.10"
Expand Down

0 comments on commit 7e247fa

Please sign in to comment.