Update Makefile

This commit is contained in:
antoniaklja 2019-01-10 22:32:28 +01:00
parent 60a7079df3
commit 1ad9791276
1 changed files with 1 additions and 5 deletions

View File

@ -320,12 +320,8 @@ minikube-run: start-minikube ## Run the operator locally and use minikube as Kub
build/_output/bin/jenkins-operator $(EXTRA_ARGS) build/_output/bin/jenkins-operator $(EXTRA_ARGS)
.PHONY: deepcopy-gen .PHONY: deepcopy-gen
HAS_OPERATOR_SDK := $(shell which operator-sdk)
deepcopy-gen: ## Generate deepcopy golang code deepcopy-gen: ## Generate deepcopy golang code
@echo "+ $@" @echo "+ $@"
ifndef HAS_OPERATOR_SDK
$(warning You must install operator-sdk)
endif
operator-sdk generate k8s operator-sdk generate k8s
.PHONY: start-minikube .PHONY: start-minikube