Skip to content

Commit

Permalink
fix tests and warn about unimplemented rustls oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
clux committed Jan 31, 2020
1 parent c6b9bb7 commit faa5126
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- run: cargo build
- run: cargo test --lib
- run: cargo test --example crd_api crd_reflector
- run: cargo test --all-features -j4
- run: cargo test --features=openapi -j4
- run: cargo test --lib --no-default-features --features=rustls-tls
- save_cache:
paths:
- /usr/local/cargo/registry
Expand Down
4 changes: 4 additions & 0 deletions src/config/apis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ impl AuthInfo {
self.token = Some(token.access_token);
}
}
#[cfg(feature = "rustls-tls")]
{
error!("kube-rs does not support auth_provider setup with rustls atm")
}
}
if let Some(id_token) = provider.config.get("id-token") {
self.token = Some(id_token.clone());
Expand Down

0 comments on commit faa5126

Please sign in to comment.