netflux-kubernetes/deploy/Makefile

16 lines
337 B
Makefile
Raw Normal View History

2022-05-11 01:10:22 +00:00
.PHONY: dev prod inflate
2022-05-05 15:39:08 +00:00
dev:
@kubectl kustomize --enable-helm dev
prod: load-prod-env
@kubectl kustomize --enable-helm prod | envsubst
load-prod-env:
$(eval include prod/secrets/env)
$(eval export)
2022-05-11 01:10:22 +00:00
# Usage: make inflate name=prometheus chart=prometheus-community/prometheus
inflate:
2022-05-11 01:10:37 +00:00
@bin/helm-chart-inflate.sh $(name) $(chart)