-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (18 loc) · 868 Bytes
/
Makefile
File metadata and controls
27 lines (18 loc) · 868 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.PHONY: setup teardown status context secrets-backup secrets-restore secrets-status help
setup: ## Full environment setup (Kind clusters + ArgoCD + stack)
./scripts/gitops setup
teardown: ## Delete all clusters and resources
./scripts/gitops teardown
status: ## Show cluster status
./scripts/gitops cluster status
context: ## Switch kubectl context (usage: make context CLUSTER=dev-eu-central-1)
./scripts/gitops context $(CLUSTER)
secrets-backup: ## Backup sealed secrets key
./scripts/gitops secrets backup
secrets-restore: ## Restore sealed secrets key
./scripts/gitops secrets restore
secrets-status: ## Show sealed secrets backup status
./scripts/gitops secrets status
help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-18s\033[0m %s\n", $$1, $$2}'
.DEFAULT_GOAL := help