Skip to content

Commit 4f9a515

Browse files
committed
add Errors section to
1 parent 0ebb8df commit 4f9a515

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/deploy/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ use crate::configparser::{get_profile_config, ChallengeConfig};
1919
use crate::utils::TryJoinAll;
2020

2121
/// check to make sure that the needed ingress charts are deployed and running
22+
///
23+
/// # Errors
24+
/// If the kubernetes client encounters an error, that error is returned.
25+
/// Otherwise, an error is returned if a chart is either not deployed or
26+
/// in a failed state.
2227
pub async fn check_setup(profile: &ProfileConfig) -> Result<()> {
2328
let kube = kube_client(profile).await?;
2429
let secrets: kube::Api<Secret> = kube::Api::namespaced(kube, cluster_setup::INGRESS_NAMESPACE);

0 commit comments

Comments
 (0)