Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(server): default to using rustls-tls #333

Merged
merged 1 commit into from
Jan 4, 2025
Merged

Conversation

olix0r
Copy link
Owner

@olix0r olix0r commented Jan 4, 2025

Both kube and kubert allow the rustls-tls and openssl-tls features simultaneously. However, their default behaviors differ, which causes clients and servers to use different TLS implementations when both features are enabled:

  • kube clients use rustls-tls by default;
  • kubert servers use openssl-tls by default.

This commit changes the default behavior of kubert servers to use rustls-tls when both features are enabled, aligning with kube.

Both kube and kubert allow the rustls-tls and openssl-tls features
simultaneously. However, their default behaviors differ, which causes clients
and servers to use different TLS implementations when both features are enabled:

* kube clients use rustls-tls by default;
* kubert servers use openssl-tls by default.

This commit changes the default behavior of kubert servers to use rustls-tls
when both features are enabled, aligning with [kube].

[kube]: https://github.com/kube-rs/kube/blob/6a980c6ea50f2f3f4f2867d3df3fd77be00fca84/kube-client/src/client/builder.rs#L157-L165
@olix0r olix0r force-pushed the ver/tls-preference branch from 9c4a492 to 936c66b Compare January 4, 2025 21:25
@olix0r olix0r enabled auto-merge (squash) January 4, 2025 21:28
@olix0r olix0r merged commit 5a6b2ac into main Jan 4, 2025
39 checks passed
@olix0r olix0r deleted the ver/tls-preference branch January 4, 2025 21:31
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.

1 participant