feat: add helm to kubectl
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-02-06 21:42:51 +01:00
parent 122d453387
commit 49d0da5e82
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912

View File

@ -39,6 +39,8 @@ impl DaggerMiddleware for Kubectl {
.with_exec(vec!["apk", "add", "tar", "wget"])
.with_exec(vec!["sh", "-c", KUBESLICEDOWNLOAD]);
let helm = self.client.container().from("alpine/helm:3.11.1");
Ok(container
.with_file(
"/usr/local/bin/kubectl",
@ -51,7 +53,8 @@ impl DaggerMiddleware for Kubectl {
.with_file(
"/usr/local/bin/kubectl-slice",
kubeslice.file("/usr/local/bin/kubectl-slice"),
))
)
.with_file("/usr/local/bin/helm", helm.file("/usr/bin/helm")))
}
}