feat: initial commit
- add structure to clusters, apps and argocd objects - add bootstrapping features
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
.PHONY: build clean
|
||||
|
||||
# Build a kustomization path to manifests directory
|
||||
# Usage: make build clusters/au-syd1/bootstrap
|
||||
build:
|
||||
@mkdir -p manifests/$(filter-out $@,$(MAKECMDGOALS))
|
||||
@kustomize build $(filter-out $@,$(MAKECMDGOALS)) --output manifests/$(filter-out $@,$(MAKECMDGOALS))
|
||||
|
||||
# Clean all generated manifests
|
||||
clean:
|
||||
@rm -rf manifests/
|
||||
|
||||
# Allow any argument after build to be treated as a path
|
||||
%:
|
||||
@:
|
||||
Reference in New Issue
Block a user