Skip to content

Commit b1d1c84

Browse files
committed
Make sure helm binary is available for cluster-setup
Signed-off-by: Robert Detjens <[email protected]>
1 parent 374380a commit b1d1c84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/cluster_setup/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ fn install_helm_chart(
111111
namespace: &str,
112112
values: &str,
113113
) -> Result<()> {
114+
// make sure `helm` is available to run
115+
duct::cmd!("helm", "version")
116+
.read()
117+
.context("helm binary is not available")?;
118+
114119
// write values to tempfile
115120
let mut temp_values = tempfile::Builder::new()
116121
.prefix(release_name)

0 commit comments

Comments
 (0)