mirror of
https://github.com/ansible/awx-operator.git
synced 2026-05-08 06:12:54 +00:00
Merge pull request #686 from rooftopcellist/fix-deploy-target-dev
Fix deploy target for the devel branch
This commit is contained in:
4
Makefile
4
Makefile
@@ -84,7 +84,9 @@ gen-resources: kustomize ## Generate resources for controller and print to stdou
|
|||||||
@$(KUSTOMIZE) build config/default
|
@$(KUSTOMIZE) build config/default
|
||||||
|
|
||||||
deploy: kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
|
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.
|
undeploy: ## Undeploy controller from the K8s cluster specified in ~/.kube/config.
|
||||||
$(KUSTOMIZE) build config/default | kubectl delete -f -
|
$(KUSTOMIZE) build config/default | kubectl delete -f -
|
||||||
|
|||||||
Reference in New Issue
Block a user