-
-
Save therevoman/0e737b63a60898d37850101772c05f5b to your computer and use it in GitHub Desktop.
Simple script to pull all images for the image streams
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| IMAGES=`oc get is -o go-template --template="{{range .items}}{{.metadata.name}} {{end}}" -n openshift` | |
| for i in ${IMAGES}; do | |
| echo "Pulling: $i" | |
| ./oc import-image $i --all -n openshift | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment