Skip to content

Commit

Permalink
Bump kube-runtime from 0.78.0 to 0.79.0 in /cmd/pinniped-proxy (#6025)
Browse files Browse the repository at this point in the history
Bumps [kube-runtime](https://github.com/kube-rs/kube) from 0.78.0 to
0.79.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.79.0</h2>
<!-- raw HTML omitted -->
<h2>Watch Improvements</h2>
<p>A big feature this time around is the added support for the metadata
api via <a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1137">#1137</a>.
This is a variant api that <strong>only</strong> returns the
<code>ObjectMeta</code> and <code>TypeMeta</code> to reduce network
load, and has a low-level watch analogue available at
<code>Api::watch_metadata</code>. Most users will generally want an
infinite watch stream rather than the low-level method, so
<code>kube::runtime::metadata_watcher</code> has been added as a direct
analogue of <code>watcher</code> via <a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1145">#1145</a>.
The <a
href="https://github.com/kube-rs/kube/blob/0f632eaa88b8eef2a232ca7c7dd1f841d32f6454/examples/dynamic_watcher.rs#L33-L54">dynamic_watcher
example</a> shows how to switch between the two to get up and
running.</p>
<p>The <code>watcher</code> also <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1134/files#diff-5078d84d257800c4fba86a30c501afa5fd4612473832bce7a02cd95099b1b474">emits
warnings</a> now when HTTP <code>403</code>s are encountered from
Kubernetes, as this usually indicates a non-transient misconfiguration
that must be fixed on the administrator side with RBAC.</p>
<p>Finally, there is work in progress on shared streams via
<code>WatchStreamExt</code> from <a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1131">#1131</a>
under an unstable feature.</p>
<h2>What's Changed</h2>
<h3>Added</h3>
<ul>
<li>Client: expose <code>default_namespace()</code> by <a
href="https://github.com/jpmcb"><code>@​jpmcb</code></a> in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1123">kube-rs/kube#1123</a></li>
<li>Add support for metadata API by <a
href="https://github.com/mateiidavid"><code>@​mateiidavid</code></a> in
<a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1137">kube-rs/kube#1137</a></li>
<li>Runtime: Add <code>WatchStreamExt::subscribe</code> by <a
href="https://github.com/danrspencer"><code>@​danrspencer</code></a> in
<a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1131">kube-rs/kube#1131</a></li>
<li>Introduce support for persistent metadata watches by <a
href="https://github.com/mateiidavid"><code>@​mateiidavid</code></a> in
<a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1145">kube-rs/kube#1145</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump Rust MSRV to 1.63.0 by <a
href="https://github.com/mateiidavid"><code>@​mateiidavid</code></a> in
<a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1146">kube-rs/kube#1146</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>Config</code>: make cluster/users/clusters optional by <a
href="https://github.com/goenning"><code>@​goenning</code></a> in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1120">kube-rs/kube#1120</a></li>
<li>Add better logging for watcher errors by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1134">kube-rs/kube#1134</a></li>
<li>kubeconfig: deserialize null vectors as default by <a
href="https://github.com/goenning"><code>@​goenning</code></a> in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1142">kube-rs/kube#1142</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/jpmcb"><code>@​jpmcb</code></a> made
their first contribution in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1123">kube-rs/kube#1123</a></li>
<li><a
href="https://github.com/ianstanton"><code>@​ianstanton</code></a> made
their first contribution in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1127">kube-rs/kube#1127</a></li>
<li><a
href="https://github.com/mateiidavid"><code>@​mateiidavid</code></a>
made their first contribution in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1137">kube-rs/kube#1137</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/kube-rs/kube/compare/0.78.0...0.79.0">https://github.com/kube-rs/kube/compare/0.78.0...0.79.0</a></p>
</blockquote>
</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.79.0">0.79.0</a> /
2023-02-23</h1>
<!-- raw HTML omitted -->
<h2>Watch Improvements</h2>
<p>A big feature this time around is the added support for the metadata
api via <a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1137">#1137</a>.
This is a variant api that <strong>only</strong> returns the
<code>ObjectMeta</code> and <code>TypeMeta</code> to reduce network
load, and has a low-level watch analogue available at
<code>Api::watch_metadata</code>. Most users will generally want an
infinite watch stream rather than the low-level method, so
<code>kube::runtime::metadata_watcher</code> has been added as a direct
analogue of <code>watcher</code> via <a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1145">#1145</a>.
The <a
href="https://github.com/kube-rs/kube/blob/0f632eaa88b8eef2a232ca7c7dd1f841d32f6454/examples/dynamic_watcher.rs#L33-L54">dynamic_watcher
example</a> shows how to switch between the two to get up and
running.</p>
<p>The <code>watcher</code> also <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1134/files#diff-5078d84d257800c4fba86a30c501afa5fd4612473832bce7a02cd95099b1b474">emits
warnings</a> now when HTTP <code>403</code>s are encountered from
Kubernetes, as this usually indicates a non-transient misconfiguration
that must be fixed on the administrator side with RBAC.</p>
<p>Finally, there is work in progress on shared streams via
<code>WatchStreamExt</code> from <a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1131">#1131</a>
under an unstable feature.</p>
<h2>What's Changed</h2>
<h3>Added</h3>
<ul>
<li>Client: expose <code>default_namespace()</code> by <a
href="https://github.com/jpmcb"><code>@​jpmcb</code></a> in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1123">kube-rs/kube#1123</a></li>
<li>Add support for metadata API by <a
href="https://github.com/mateiidavid"><code>@​mateiidavid</code></a> in
<a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1137">kube-rs/kube#1137</a></li>
<li>Runtime: Add <code>WatchStreamExt::subscribe</code> by <a
href="https://github.com/danrspencer"><code>@​danrspencer</code></a> in
<a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1131">kube-rs/kube#1131</a></li>
<li>Introduce support for persistent metadata watches by <a
href="https://github.com/mateiidavid"><code>@​mateiidavid</code></a> in
<a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1145">kube-rs/kube#1145</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump Rust MSRV to 1.63.0 by <a
href="https://github.com/mateiidavid"><code>@​mateiidavid</code></a> in
<a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1146">kube-rs/kube#1146</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li><code>Config</code>: make cluster/users/clusters optional by <a
href="https://github.com/goenning"><code>@​goenning</code></a> in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1120">kube-rs/kube#1120</a></li>
<li>Add better logging for watcher errors by <a
href="https://github.com/clux"><code>@​clux</code></a> in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1134">kube-rs/kube#1134</a></li>
<li>kubeconfig: deserialize null vectors as default by <a
href="https://github.com/goenning"><code>@​goenning</code></a> in <a
href="https://github-redirect.dependabot.com/kube-rs/kube/pull/1142">kube-rs/kube#1142</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/kube-rs/kube/commit/0f632eaa88b8eef2a232ca7c7dd1f841d32f6454"><code>0f632ea</code></a>
release 0.79.0</li>
<li><a
href="https://github.com/kube-rs/kube/commit/058307a47e292b9bab3db78eb447f3cffce7928f"><code>058307a</code></a>
Prepare for release 0.79.0</li>
<li><a
href="https://github.com/kube-rs/kube/commit/b822ee604490a5e4c8fd9868b532c9d5f18208cc"><code>b822ee6</code></a>
Introduce support for persistent metadata watches (<a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1145">#1145</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/5afa31e2c8cdb85b37b08e9fba28506d9aeedd93"><code>5afa31e</code></a>
Runtime: Add <code>WatchStreamExt::subscribe</code> (<a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1131">#1131</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/e23b07654825d0b438af28a975e39494d372455e"><code>e23b076</code></a>
Bump Rust MSRV to 1.63.0 (<a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1146">#1146</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/53ad9eea3ac1f58cb5d30ae9a636bfa6450ad5d4"><code>53ad9ee</code></a>
Unit/Integration CI test cleanup (<a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1143">#1143</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/7e77855824882321f9c7034efa978a890d0af5d1"><code>7e77855</code></a>
kubeconfig: deserialize null vectors as default (<a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1142">#1142</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/9ebd055a03f1248706fb40dda396931b4e747d23"><code>9ebd055</code></a>
Integration tests; add <code>#[ignore = &quot;msg&quot;]</code> messages
(<a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1141">#1141</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/43e6875cc467e02c3e9c48379952f5d27e92cd98"><code>43e6875</code></a>
cargo deny fix build + add <code>.mailmap</code> (<a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1138">#1138</a>)</li>
<li><a
href="https://github.com/kube-rs/kube/commit/fdd799d4230aa09405881f18b946656637fed762"><code>fdd799d</code></a>
Add support for metadata API (<a
href="https://github-redirect.dependabot.com/kube-rs/kube/issues/1137">#1137</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/kube-rs/kube/compare/0.78.0...0.79.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.78.0&new-version=0.79.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
dependabot[bot] committed Feb 24, 2023
1 parent f490a56 commit 22b66f4
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 7 deletions.
73 changes: 67 additions & 6 deletions cmd/pinniped-proxy/Cargo.lock

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

2 changes: 1 addition & 1 deletion cmd/pinniped-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ hyper = { version = "0.14", features = ["server"] }
hyper-tls = "0.5"
kube = { version = "0.78.0" }
kube-derive = { version = "0.78.0"}
kube-runtime = "0.78.0"
kube-runtime = "0.79.0"
k8s-openapi = { version = "0.17.0", default-features = false}
log = "0.4"
native-tls = "0.2"
Expand Down

0 comments on commit 22b66f4

Please sign in to comment.