Commit 4f693db
committed
Support putting external images into the local registry of the kubevirtci cluster (#3801)
User can define an environment variable EXTRA_IMAGES that contains a list of
external image urls separated by spaces.
At the end of 'make cluster-up' target the EXTRA_IMAGES are processed
by a script ./cluster-up/extra-images.sh so that for each image url,
it pulls the image and then push the image into the local registry.
Then when 'make cluster-sync' is invoked, it searches all external
image urls in the generated yamls in _out/manifests/ and replaces
them with corresponding urls in the local registry (registry:5000)
Signed-off-by: Howard Gao <[email protected]>1 parent e40a2e5 commit 4f693db
3 files changed
+30
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
67 | 78 | | |
68 | 79 | | |
69 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
0 commit comments