Skip to content

Commit

Permalink
examples/Cargo.toml fix, doc fix in Config struct
Browse files Browse the repository at this point in the history
Signed-off-by: Razz4780 <msmolarekg@gmail.com>
  • Loading branch information
Razz4780 committed Oct 27, 2023
1 parent 6c31049 commit 954a4bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ license = "Apache-2.0"
release = false

[features]
default = ["rustls-tls", "kubederive", "ws", "latest", "runtime", "refresh"]
default = ["rustls-tls", "kubederive", "ws", "latest", "socks5", "runtime", "refresh"]
kubederive = ["kube/derive"]
openssl-tls = ["kube/client", "kube/openssl-tls"]
rustls-tls = ["kube/client", "kube/rustls-tls"]
runtime = ["kube/runtime", "kube/unstable-runtime"]
socks5 = ["kube/socks5"]
refresh = ["kube/oauth", "kube/oidc"]
ws = ["kube/ws"]
latest = ["k8s-openapi/latest"]
Expand Down
3 changes: 1 addition & 2 deletions kube-client/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ pub struct Config {
pub accept_invalid_certs: bool,
/// Stores information to tell the cluster who you are.
pub auth_info: AuthInfo,
// TODO Actually support proxy or create an example with custom client
/// Optional proxy URL.
/// Optional proxy URL. Proxy support requires the `socks5` feature.
pub proxy_url: Option<http::Uri>,
/// If set, apiserver certificate will be validated to contain this string
///
Expand Down

0 comments on commit 954a4bf

Please sign in to comment.