diff --git a/deploy/Makefile b/deploy/Makefile new file mode 100644 index 0000000..425018d --- /dev/null +++ b/deploy/Makefile @@ -0,0 +1,16 @@ +include etcd/Makefile + +deploy_path := $(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST))))) + +.DEFAULT_GOAL := kamaji + +.PHONY: etcd-cluster +reqs: etcd-cluster + +.PHONY: kamaji +kamaji: reqs + @kubectl apply -f $(deploy_path)/../../config/install.yaml + +.PHONY: destroy +destroy: etcd-certificates/cleanup + @kubectl delete -f $(deploy_path)/../../config/install.yaml