Skip to content

Commit

Permalink
fix link lint and an old misleading comment
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Mar 25, 2024
1 parent fabf546 commit cd9aa73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions kube-client/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,8 @@ impl Config {
/// `/var/run/secrets/kubernetes.io/serviceaccount/`.
///
/// This behavior does not match that of the official Kubernetes clients,
/// but this approach is compatible with the `rustls-tls` feature
/// without setting `tls_server_name`.
/// See <https://github.com/kube-rs/kube/issues/1003>.
/// but can be used as a consistent entrypoint in many clusters.
/// See <https://github.com/kube-rs/kube/issues/1003> for more info.
pub fn incluster_dns() -> Result<Self, InClusterError> {
Self::incluster_with_uri(incluster_config::kube_dns())
}
Expand Down
2 changes: 1 addition & 1 deletion kube-runtime/src/reflector/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub use store::{store, Store};
/// Note that you **cannot drop everything**; you minimally need the spec properties your app relies on.
/// Additionally, only `labels`, `annotations` and `managed_fields` are safe to drop from `ObjectMeta`.
///
/// For more information check out: https://kube.rs/controllers/optimization/ for graphs and techniques.
/// For more information check out: <https://kube.rs/controllers/optimization/> for graphs and techniques.
pub fn reflector<K, W>(mut writer: store::Writer<K>, stream: W) -> impl Stream<Item = W::Item>
where
K: Lookup + Clone,
Expand Down

0 comments on commit cd9aa73

Please sign in to comment.