FOLDERS := infra/traefik infra/storage infra/monitoring infra/authelia apps/namesny-com apps/mlflow apps/gitea apps/code-server apps/dev-container

all: $(FOLDERS)

$(FOLDERS):
	@echo "Deploying $@..."
	cd $(CURDIR)/$@ && kustomize build --enable-helm --enable-alpha-plugins --enable-exec . | kubectl apply -f -

.PHONY: deploy $(FOLDERS)