Merge pull request #686 from rooftopcellist/fix-deploy-target-dev

Fix deploy target for the devel branch
This commit is contained in:
Christian Adams
2021-12-07 14:36:52 -05:00
committed by GitHub

View File

@@ -84,7 +84,9 @@ gen-resources: kustomize ## Generate resources for controller and print to stdou
@$(KUSTOMIZE) build config/default
deploy: kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
$(MAKE) gen-resources | kubectl apply -f -
@cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
@cd config/default && $(KUSTOMIZE) edit set namespace ${NAMESPACE}
@$(KUSTOMIZE) build config/default | kubectl apply -f -
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config.
$(KUSTOMIZE) build config/default | kubectl delete -f -