#1 Apply jenkins CRD in minikube-run target

This commit is contained in:
Tomasz Sęk 2018-12-15 14:06:28 +01:00
parent e2f567de85
commit 5091ce86c5
No known key found for this signature in database
GPG Key ID: DC356D23F6A644D0
1 changed files with 2 additions and 0 deletions

View File

@ -309,6 +309,8 @@ minikube-run: export OPERATOR_NAME = $(NAME)
minikube-run: start-minikube ## 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/virtuslab_v1alpha1_jenkins_crd.yaml
@echo "Watching '$(WATCH_NAMESPACE)' namespace"
build/_output/bin/jenkins-operator $(EXTRA_ARGS)
.PHONY: deepcopy-gen