Skip to content

Commit

Permalink
Merge pull request #8110 from medyagh/preload_const
Browse files Browse the repository at this point in the history
add default versions to preload generation
  • Loading branch information
medyagh authored May 13, 2020
2 parents 592bf17 + 123d1b6 commit 677c2e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hack/preload-images/preload_images.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import (
"strings"

"github.com/spf13/viper"
"k8s.io/minikube/pkg/minikube/constants"
"k8s.io/minikube/pkg/minikube/download"
)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 677c2e4

Please sign in to comment.