feat: add helm to kubectl
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
122d453387
commit
49d0da5e82
@ -39,6 +39,8 @@ impl DaggerMiddleware for Kubectl {
|
|||||||
.with_exec(vec!["apk", "add", "tar", "wget"])
|
.with_exec(vec!["apk", "add", "tar", "wget"])
|
||||||
.with_exec(vec!["sh", "-c", KUBESLICEDOWNLOAD]);
|
.with_exec(vec!["sh", "-c", KUBESLICEDOWNLOAD]);
|
||||||
|
|
||||||
|
let helm = self.client.container().from("alpine/helm:3.11.1");
|
||||||
|
|
||||||
Ok(container
|
Ok(container
|
||||||
.with_file(
|
.with_file(
|
||||||
"/usr/local/bin/kubectl",
|
"/usr/local/bin/kubectl",
|
||||||
@ -51,7 +53,8 @@ impl DaggerMiddleware for Kubectl {
|
|||||||
.with_file(
|
.with_file(
|
||||||
"/usr/local/bin/kubectl-slice",
|
"/usr/local/bin/kubectl-slice",
|
||||||
kubeslice.file("/usr/local/bin/kubectl-slice"),
|
kubeslice.file("/usr/local/bin/kubectl-slice"),
|
||||||
))
|
)
|
||||||
|
.with_file("/usr/local/bin/helm", helm.file("/usr/bin/helm")))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user