Implement Makefile for deployment

This commit is contained in:
Mathis 2024-03-24 17:54:51 +00:00
parent 4cd13b7acf
commit c1ccd73764
1 changed files with 9 additions and 0 deletions

9
Makefile Normal file
View File

@ -0,0 +1,9 @@
FOLDERS := infra/traefik infra/storage infra/monitoring infra/authelia apps/namesny-com apps/mlflow apps/gitea apps/code-server
all: $(FOLDERS)
$(FOLDERS):
@echo "Deploying $@..."
cd $(CURDIR)/$@ && kustomize build --enable-helm --enable-alpha-plugins --enable-exec . | kubectl apply -f -
.PHONY: deploy $(FOLDERS)