Fix run Makefile goal

This commit is contained in:
Tomasz Sęk
2019-06-30 22:51:38 +02:00
parent 6fffcb6754
commit 6aee3f8df6
+1 -1
View File
@@ -208,8 +208,8 @@ run: export WATCH_NAMESPACE = $(NAMESPACE)
run: export OPERATOR_NAME = $(NAME)
run: build ## Run the executable, you can use EXTRA_ARGS
@echo "+ $@"
kubectl apply -f deploy/crds/jenkins_$(API_VERSION)_jenkins_crd.yaml
kubectl config use-context $(KUBECTL_CONTEXT)
kubectl apply -f deploy/crds/jenkins_$(API_VERSION)_jenkins_crd.yaml
@echo "Watching '$(WATCH_NAMESPACE)' namespace"
build/_output/bin/jenkins-operator --local $(EXTRA_ARGS)