[skip ci] mark optional of apt update during installKubectl as it might show false positive error when other packages are not able to update
This commit is contained in:
parent
8323b84bbe
commit
26904c0b57
1 changed files with 3 additions and 1 deletions
|
@ -61,7 +61,9 @@ fun Prov.installKubectl(): ProvResult = task {
|
|||
val tmpDir = "~/tmp"
|
||||
|
||||
// prerequisites -- see https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
|
||||
cmd("sudo apt-get update")
|
||||
optional {
|
||||
cmd("sudo apt-get update")
|
||||
}
|
||||
aptInstall("apt-transport-https ca-certificates curl")
|
||||
createDir(tmpDir)
|
||||
downloadFromURL(
|
||||
|
|
Loading…
Reference in a new issue