Commit 413bbd3
authored
env_kind.go: load image into kind cluster (#73)
* env_kind.go: load image into kind cluster
This commit load the image into the kind cluster with
```
kind load docker-image <image-name>
```
We need to do this if the image is not in a public registry.
Honestly, the purpose of the `preLoadImage()` function is not clear to me.
Signed-off-by: leonnicolas <leonloechner@gmx.de>
* pull and load image
Pull only the image if it isn't present on the machine and always load
it into the cluster.
* Apply suggestion from code review
Signed-off-by: leonnicolas <leonloechner@gmx.de>
---------
Signed-off-by: leonnicolas <leonloechner@gmx.de>1 parent 97db25a commit 413bbd3
1 file changed
Lines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
767 | 766 | | |
768 | 767 | | |
769 | 768 | | |
770 | | - | |
771 | | - | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
772 | 777 | | |
773 | 778 | | |
774 | | - | |
775 | | - | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
776 | 784 | | |
777 | 785 | | |
778 | 786 | | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
783 | | - | |
| 787 | + | |
784 | 788 | | |
785 | 789 | | |
786 | 790 | | |
| |||
0 commit comments