khuedoan-homelab/bootstrap/Makefile
Khue Doan dc7d1256a0 build: set kubeconfig from global Makefile
Separate build steps in Tekton can use service account instead of config file
2022-05-14 20:06:57 +07:00

22 lines
330 B
Makefile

.POSIX:
default: namespace argocd root
argocd/charts: argocd/Chart.yaml
cd argocd \
&& helm dependency update
namespace:
kubectl create namespace argocd --dry-run=client --output=yaml \
| kubectl apply -f -
.PHONY: argocd
argocd: argocd/charts
cd argocd && \
./apply.sh
.PHONY: root
root:
cd root && \
./apply.sh