Add support for the kubectl plugin package manager krew (#454)

https://krew.sigs.k8s.io/
This commit is contained in:
Bastian Hofmann
2020-06-29 05:13:31 +02:00
committed by GitHub
parent 5fb9b41771
commit e38252d95d
3 changed files with 13 additions and 0 deletions

View File

@@ -332,6 +332,10 @@ fn run() -> Result<()> {
runner.execute("composer", || generic::run_composer_update(&ctx))?;
}
if config.should_run(Step::Krew) {
runner.execute("krew", || generic::run_krew_upgrade(run_type))?;
}
#[cfg(not(any(
target_os = "freebsd",
target_os = "openbsd",