Skip to content

Re-add support for basic auth in Proxy#1959

Merged
clux merged 1 commit into
kube-rs:mainfrom
goenning:go/proxy-auth
Mar 15, 2026
Merged

Re-add support for basic auth in Proxy#1959
clux merged 1 commit into
kube-rs:mainfrom
goenning:go/proxy-auth

Conversation

@goenning
Copy link
Copy Markdown
Contributor

Motivation

When kube-rs moved from hyper-http-proxy to hyper-util, support for Basic Auth was lost as this was previously done inside the crate.

Solution

This PR adds support for auth again inside kube-rs as it seems like the hyper-util is avoiding anything new being added to their legacy modules.

Signed-off-by: goenning <[email protected]>
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 15, 2026

Codecov Report

❌ Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.3%. Comparing base (ab9040e) to head (3868808).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
kube-client/src/client/builder.rs 0.0% 6 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##            main   #1959     +/-   ##
=======================================
+ Coverage   76.3%   76.3%   +0.1%     
=======================================
  Files         89      89             
  Lines       8507    8512      +5     
=======================================
+ Hits        6486    6492      +6     
+ Misses      2021    2020      -1     
Files with missing lines Coverage Δ
kube-client/src/client/builder.rs 69.7% <0.0%> (-2.7%) ⬇️

... and 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@clux clux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems sensible to me. thank you.

@clux clux added the changelog-add changelog added category for prs label Mar 15, 2026
@clux clux added this to the 3.1.0 milestone Mar 15, 2026
@clux clux merged commit 9ad27a9 into kube-rs:main Mar 15, 2026
19 checks passed
@clux clux changed the title Re-add support for auth in Proxy Re-add support for basic auth in Proxy Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-add changelog added category for prs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants