Skip to content

Commit

Permalink
Fix ipv6 incompatibility (#76)
Browse files Browse the repository at this point in the history
* Fix ipv6 incompatibility

Fixes #70

This adds the "rustls-tls" feature to the kube dependency, so we end up
depending on hyper-rustls instead of hyper-openssl, as the latter is
responsible for the bug reported in #70. The bug is caused by ipv6
addresses not getting sanitized when configuring SSL.

* Add license exception for ring
  • Loading branch information
alpeb authored Dec 16, 2024
1 parent bac2c36 commit 3e898e7
Show file tree
Hide file tree
Showing 3 changed files with 182 additions and 2 deletions.
168 changes: 168 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ features = ["derive", "help", "usage", "env", "std"]
[dependencies.kube]
version = "0.87"
default-features = false
features = ["client", "jsonpatch"]
features = ["client", "jsonpatch", "rustls-tls"]

[dependencies.k8s-openapi]
version = "0.20"
Expand Down
14 changes: 13 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ yanked = "deny"
ignore = []

[licenses]
allow = ["Apache-2.0", "MIT"]
allow = ["Apache-2.0", "ISC", "MIT"]
confidence-threshold = 0.8
exceptions = [
# The Unicode-DFS--2016 license is necessary for unicode-ident because
Expand All @@ -25,8 +25,20 @@ exceptions = [
"Apache-2.0",
"Unicode-DFS-2016",
], name = "unicode-ident" },

{ allow = [
"ISC",
"MIT",
"OpenSSL",
], name = "ring", version = "*" },
]

[[licenses.clarify]]
name = "ring"
version = "*"
expression = "MIT AND ISC AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]

[bans]
multiple-versions = "deny"
wildcards = "deny"
Expand Down

0 comments on commit 3e898e7

Please sign in to comment.