Skip to content

Conversation

@kazk
Copy link
Member

@kazk kazk commented Oct 7, 2022

native-tls feature exists because kube used to depend on reqwest. It doesn't really make sense for us because openssl is required on all platforms anyway. It also doesn't work on macOS (#89 and #691), so the default was changed to openssl-tls since 0.71.0 (#863).

This PR removes the feature as discussed in #863 (comment).

Closes #89
Closes #691

@kazk kazk added the changelog-remove changelog remove category for prs label Oct 7, 2022
@kazk kazk force-pushed the remove-native-tls branch from 8db9545 to ac781ab Compare October 7, 2022 20:32
@codecov-commenter
Copy link

codecov-commenter commented Oct 7, 2022

Codecov Report

Merging #1044 (ac781ab) into main (3033e0f) will decrease coverage by 0.00%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1044      +/-   ##
==========================================
- Coverage   72.29%   72.29%   -0.01%     
==========================================
  Files          65       65              
  Lines        4692     4688       -4     
==========================================
- Hits         3392     3389       -3     
+ Misses       1300     1299       -1     
Impacted Files Coverage Δ
kube-client/src/client/builder.rs 70.90% <ø> (ø)
kube-client/src/client/config_ext.rs 51.21% <ø> (ø)
kube-client/src/client/mod.rs 68.98% <ø> (ø)
kube-client/src/client/tls.rs 79.16% <ø> (ø)
kube-client/src/config/mod.rs 43.02% <ø> (-2.54%) ⬇️
kube-client/src/lib.rs 93.75% <ø> (ø)
kube-runtime/src/wait.rs 71.69% <0.00%> (+1.88%) ⬆️

@kazk kazk force-pushed the remove-native-tls branch from ac781ab to d9e70c1 Compare October 7, 2022 20:45
Copy link
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.

Nice cleanup!

@kazk kazk force-pushed the remove-native-tls branch from d9e70c1 to 76b2a7e Compare October 10, 2022 21:58
Copy link
Member

@nightkr nightkr left a comment

Choose a reason for hiding this comment

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

🔥

@kazk
Copy link
Member Author

kazk commented Oct 14, 2022

Thanks for fixing Clippy. I'll merge this after rebasing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-remove changelog remove category for prs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

macOS Security Framework fails to import modern PKCS#12 created by OpenSSL 3 Mac: My cluster isn't trusted

4 participants