Skip to content

Commit

Permalink
chore(policy): use rustls-tls instead of openssl-tls (#13502)
Browse files Browse the repository at this point in the history
This switches the policy-controller build back to using rustls-tls
instead of openssl-tls.

We have been using rustls-tls in kubert anyways since at least #11255
(edge-23.8.3 and stable-2.14.0) and that didn't seem to have caused any
issues.

Note: this updates the HTTPS server impl to use rustls, as we do in kube-client.
  • Loading branch information
alpeb authored Jan 13, 2025
1 parent bf6ac0e commit a59e02c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions policy-controller/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ license = "Apache-2.0"
publish = false

[features]
default = ["openssl-tls", "openssl-vendored"]
default = ["linkerd-policy-controller-runtime/rustls-tls"]
openssl-tls = ["linkerd-policy-controller-runtime/openssl-tls"]
# Vendor openssl to statically link lib
openssl-vendored = ["linkerd-policy-controller-runtime/openssl-vendored"]
rustls-tls = ["linkerd-policy-controller-runtime/rustls-tls"]

[dependencies]
anyhow = "1"
Expand Down

0 comments on commit a59e02c

Please sign in to comment.