Skip to content

Commit 6530c13

Browse files
committed
fix makefile
1 parent 49918bb commit 6530c13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ build-e2e-image: ## Build cappx image to be used for e2e test
118118

119119
USE_EXISTING_CLUSTER := false
120120
.PHONY: e2e
121-
e2e: generate-e2e-templates build-e2e-image cleanup-e2e-artifacts ## Run e2e test
121+
e2e: generate-e2e-templates build-e2e-image cleanup-e2e-artifacts $(KUBECTL) ## Run e2e test
122122
go test $(E2E_DIR)/... -v \
123123
-timeout=$(GINKGO_TIMEOUT) \
124124
--e2e.artifacts-folder=$(E2E_DIR) \
@@ -184,7 +184,7 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified
184184
.PHONY: deploy
185185
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
186186
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
187-
$(KUSTOMIZE) build config/default | kubectl diff -f -
187+
$(KUSTOMIZE) build config/default | kubectl apply -f -
188188

189189
.PHONY: undeploy
190190
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.

0 commit comments

Comments
 (0)