Fix run Makefile goal

This commit is contained in:
Tomasz Sęk 2019-06-30 22:51:38 +02:00
parent 6fffcb6754
commit 6aee3f8df6
No known key found for this signature in database
GPG Key ID: DC356D23F6A644D0
1 changed files with 1 additions and 1 deletions

View File

@ -208,8 +208,8 @@ run: export WATCH_NAMESPACE = $(NAMESPACE)
run: export OPERATOR_NAME = $(NAME) run: export OPERATOR_NAME = $(NAME)
run: build ## Run the executable, you can use EXTRA_ARGS run: build ## Run the executable, you can use EXTRA_ARGS
@echo "+ $@" @echo "+ $@"
kubectl apply -f deploy/crds/jenkins_$(API_VERSION)_jenkins_crd.yaml
kubectl config use-context $(KUBECTL_CONTEXT) kubectl config use-context $(KUBECTL_CONTEXT)
kubectl apply -f deploy/crds/jenkins_$(API_VERSION)_jenkins_crd.yaml
@echo "Watching '$(WATCH_NAMESPACE)' namespace" @echo "Watching '$(WATCH_NAMESPACE)' namespace"
build/_output/bin/jenkins-operator --local $(EXTRA_ARGS) build/_output/bin/jenkins-operator --local $(EXTRA_ARGS)