diff --git a/Cargo.lock b/Cargo.lock index dd94a49..6a02167 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "cfg-if" version = "1.0.0" @@ -19,7 +21,7 @@ dependencies = [ [[package]] name = "fluvio-helm" -version = "0.4.2" +version = "0.4.3" dependencies = [ "fluvio-command", "serde", diff --git a/Cargo.toml b/Cargo.toml index ac04cee..558c7ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fluvio-helm" -version = "0.4.2" +version = "0.4.3" edition = "2018" license = "Apache-2.0" authors = ["Fluvio Contributors "] diff --git a/src/lib.rs b/src/lib.rs index 94ea106..c41973f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -337,8 +337,15 @@ impl HelmClient { .arg(exact_match) .arg("--output") .arg("json"); - if let Some(ns) = namespace { - command.args(&["--namespace", ns]); + + match namespace { + Some(ns) => { + command.args(&["--namespace", ns]); + } + None => { + // Search all namespaces + command.args(&["-A"]); + } } let output = command.result()?;