[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"
|
val tmpDir = "~/tmp"
|
||||||
|
|
||||||
// prerequisites -- see https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
|
// prerequisites -- see https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/
|
||||||
|
optional {
|
||||||
cmd("sudo apt-get update")
|
cmd("sudo apt-get update")
|
||||||
|
}
|
||||||
aptInstall("apt-transport-https ca-certificates curl")
|
aptInstall("apt-transport-https ca-certificates curl")
|
||||||
createDir(tmpDir)
|
createDir(tmpDir)
|
||||||
downloadFromURL(
|
downloadFromURL(
|
||||||
|
|
Loading…
Reference in a new issue