diff --git a/Makefile b/Makefile index 3b305951..64470b52 100644 --- a/Makefile +++ b/Makefile @@ -340,7 +340,7 @@ docker-run: ## Run the container in docker, you can use EXTRA_ARGS .PHONY: minikube-run minikube-run: export WATCH_NAMESPACE = $(NAMESPACE) minikube-run: export OPERATOR_NAME = $(NAME) -minikube-run: minikube-start build ## Run the operator locally and use minikube as Kubernetes cluster, you can use EXTRA_ARGS +minikube-run: minikube-start ## Run the operator locally and use minikube as Kubernetes cluster, you can use EXTRA_ARGS @echo "+ $@" kubectl config use-context minikube kubectl apply -f deploy/crds/jenkins_$(API_VERSION)_jenkins_crd.yaml diff --git a/deploy/operator.yaml b/deploy/operator.yaml index 64890cee..18fe3b29 100644 --- a/deploy/operator.yaml +++ b/deploy/operator.yaml @@ -32,3 +32,4 @@ spec: fieldPath: metadata.name - name: OPERATOR_NAME value: "jenkins-operator" + -