Skip to content

Conversation

@hollyburn
Copy link

closes #1808. tried to keep it minimal without panicking in the main loop, but it still wound up pretty big. unwrapping in the loop only saves a dozenish lines, it's just kind of a lot to handle tls manually. it'd be nice to be able to break this out, if any other examples used warp

adds a dev-dependency to examples on `tokio-rustls`, the `server`
feature to `hyper` and the `service` feature to `hyper-util`

Signed-off-by: Elizabeth Hollyburn <[email protected]>
@clux
Copy link
Member

clux commented Oct 9, 2025

Hey, thanks a lot for this. Yeah, I agree this is a lot 😅
Ideally warp would handle this as they used to, but happy to merge this in the mean time.

(Don't worry about the CI issues, being fixed separately)

nightkr added a commit to nightkr/kube-rs that referenced this pull request Dec 7, 2025
Fixes kube-rs#1808, fixes kube-rs#1858, replaces kube-rs#1833

Axum has a fair bit more mindshare these days, and is more likely to be
familiar to people coming in from other Rust API projects.
nightkr added a commit to nightkr/kube-rs that referenced this pull request Dec 7, 2025
Fixes kube-rs#1808, fixes kube-rs#1858, replaces kube-rs#1833

Axum has a fair bit more mindshare these days, and is more likely to be
familiar to people coming in from other Rust API projects.

Signed-off-by: Natalie Klestrup Röijezon <[email protected]>
@clux
Copy link
Member

clux commented Dec 7, 2025

We ended up going for axum for this example now with the unmaintained dep. Thanks again for at least showing us what this would look like!

@clux clux closed this Dec 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace or fix warp in admission_controller example

2 participants