diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 2224fe7e8..5e95e5c8d 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -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"] diff --git a/kube-client/src/config/mod.rs b/kube-client/src/config/mod.rs index a02c48d0e..c114a9f06 100644 --- a/kube-client/src/config/mod.rs +++ b/kube-client/src/config/mod.rs @@ -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, /// If set, apiserver certificate will be validated to contain this string ///