Skip to content

Commit

Permalink
Add script for caching images
Browse files Browse the repository at this point in the history
The minikube cache all command does not seem to work for me, this seems to
work though.
  • Loading branch information
toban committed Oct 16, 2021
1 parent 10c00ea commit 60cee23
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bin/cache-images
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

IMAGES=$(minikube --profile minikube-wbaas image ls)

for val in $IMAGES; do
minikube --profile minikube-wbaas cache add $val
done

0 comments on commit 60cee23

Please sign in to comment.