Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip preload download if --image-repository is set #7707

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add a TODO note to remove the imageRepository check once preload is a…
…ccessible
  • Loading branch information
prasadkatti committed Apr 16, 2020
commit c75e3936bf18e99fb3001991b62428aab9d5bbf0
1 change: 1 addition & 0 deletions pkg/minikube/node/cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const (

// BeginCacheKubernetesImages caches images required for kubernetes version in the background
func beginCacheKubernetesImages(g *errgroup.Group, imageRepository string, k8sVersion string, cRuntime string) {
// TODO: remove imageRepository check once #7695 is fixed
if imageRepository == "" && download.PreloadExists(k8sVersion, cRuntime) {
prasadkatti marked this conversation as resolved.
Show resolved Hide resolved
glog.Info("Caching tarball of preloaded images")
err := download.Preload(k8sVersion, cRuntime)
Expand Down