File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -149,13 +149,16 @@ extension-developer-e2e: run image-registry test-ext-dev-e2e kind-clean
149
149
e2e-coverage :
150
150
COVERAGE_OUTPUT=./e2e-cover.out ./hack/e2e-coverage.sh
151
151
152
- .PHONY : kind-load
153
152
kind-load : $(KIND ) # EXHELP Loads the currently constructed image onto the cluster.
154
153
ifeq ($(CONTAINER_RUNTIME ) ,podman)
155
154
@echo "Using Podman"
156
- podman save $(IMG) -o $(IMG).tar
157
- $(KIND) load image-archive $(IMG).tar --name $(KIND_CLUSTER_NAME)
158
- rm $(IMG).tar
155
+ @DEPLOY_TEMPLATE_IMG_NAME=quay.io/operator-framework/operator-controller:devel; \
156
+ TMP_FILE=temp_image.tar; \
157
+ podman tag $(IMG) $$DEPLOY_TEMPLATE_IMG_NAME; \
158
+ echo "Saving image to temporary file $$TMP_FILE"; \
159
+ podman save $$DEPLOY_TEMPLATE_IMG_NAME -o $$TMP_FILE; \
160
+ $(KIND) load image-archive $$TMP_FILE --name $(KIND_CLUSTER_NAME); \
161
+ rm $$TMP_FILE
159
162
else
160
163
@echo "Using Docker"
161
164
$(KIND) load docker-image $(IMG) --name $(KIND_CLUSTER_NAME)
You can’t perform that action at this time.
0 commit comments