feat: enable helm via. kustomize

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-02-06 21:35:27 +01:00
parent d0d591dd4f
commit 7b136b1331
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -51,7 +51,10 @@ impl KustomizeCommand {
let _ = std::fs::remove_dir_all(&self.destination);
std::fs::create_dir_all(&self.destination)?;
let cmd = cmd.arg("kustomize").arg(self.kustomize_folder);
let cmd = cmd
.arg("kustomize")
.arg("--enable-helm")
.arg(self.kustomize_folder);
let output = cmd.output().context("failed to run kubectl kustomize")?;
if !output.status.success() {