Rob Watson 7e6ec2f462
All checks were successful
continuous-integration/drone/push Build is passing
fix: typos
2023-10-08 20:14:15 +02:00

18 lines
451 B
Makefile

.PHONY: dev prod inflate
dev:
@kubectl kustomize --enable-helm dev
prod: load-prod-env
# go install https://git.netflux.io/rob/envfilesubst@latest
@kubectl kustomize --enable-helm prod | envfilesubst -f prod/secrets/env
load-prod-env:
$(eval include prod/secrets/env)
$(eval export)
# Usage: make inflate name=prometheus chart=prometheus-community/prometheus [base=dev]
base=base
inflate:
@bin/helm-chart-inflate.sh $(name) $(chart) $(base)