add default versions to preload generation

pull/8110/head
Medya Gh 2020-05-12 18:57:49 -07:00
parent 3c84c3cf31
commit 123d1b6a74
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import (
"strings"
"github.com/spf13/viper"
"k8s.io/minikube/pkg/minikube/constants"
"k8s.io/minikube/pkg/minikube/download"
)
@ -72,6 +73,8 @@ func main() {
}
}
k8sVersions = append(k8sVersions, constants.DefaultKubernetesVersion, constants.NewestKubernetesVersion, constants.OldestKubernetesVersion)
for _, kv := range k8sVersions {
for _, cr := range containerRuntimes {
tf := download.TarballName(kv, cr)